
<%@page import="com.mbbmap.util.EncryptionHelper"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import = "java.util.TreeMap, org.json.simple.*, com.classes.Casemast, com.classes.CaseOutlet, com.classes.Outlet" %>
<%@ page import = "com.mbbmap.util.Constants" %>
<%@ page import = "com.mbbmap.security.dao.*" %>
<%@ include file="/jsp/map/include/user-dao.jsp" %>	
<%
	String op_e33 = "";
	String in_1 = "027000000000";
	String in_2 = "027000000000";
	String in_3 = "000000000";
	String in_4 = "05";
	String in_5 = "000000000";
	String in_6 = "01";
	String in_7 = "01";
	String in_8 = "07";
	String in_9 = "07";
	String in_10 = "07";
	String in_11 = "07";
	String in_12 = "07";
	String in_13 = "01";
	String in_14 = "";
	String in_15 = "";
	String in_16 = "";
	String in_17 = "";
	String in_18 = "";
	String in_19 = "";
	String in_20 = "";
	String in_21 = "";
	String in_22 = "";
	String in_23 = "";
	String in_24 = "";
	String in_25 = "";
	String in_26 = "";
	String in_27 = "";
	String in_28 = "";
	String in_29 = "";
	String in_30 = "";
	String in_31 = "";
	String in_32 = "";
	String in_33 = "";
	String in_34 = "";
	String in_35 = "";
	String in_36 = "";
	String in_37 = "";
	String in_38 = "";
	String in_39 = "";
	String in_40 = "";
	String in_41 = "";
	String in_42 = "";
	String in_43 = "";
	String in_44 = "";
	String in_45 = "";
	String in_46 = "";
	String in_47 = "";
	String in_48 = "";
	String in_49 = "";
	String in_50 = "";
	String in_51 = "";
	String in_52 = "";
	String in_53 = "";
	String in_54 = "";
	String in_55 = "";
	String in_56 = "";
	String in_57 = "";
	String in_58 = "";
	String in_59 = "";
	String in_60 = "";
	String in_61 = "";
	String in_62 = "";
	String in_63 = "";
	String in_64 = "";
	String in_65 = "";
	String in_66 = "";
	String in_67 = "";
	String in_68 = "";
	String in_69 = "";
	String in_70 = "";
	String in_71 = "";
	String in_72 = "";
	String in_73 = "";
	String in_74 = "";
	String in_75 = "";
	String in_76 = "";
	String in_77 = "";
	String in_78 = "";
	String in_79 = "";
	String in_80 = "";
	String in_81 = "";
	String in_82 = "";
	String in_83 = "";
	String in_84 = "";
	String in_85 = "";
	String in_86 = "";
	String in_87 = "";
	String in_88 = "";
	String in_89 = "";
	String in_90 = "";
	String in_91 = "";
	String in_92 = "";
	String in_93 = "";
	String in_94 = "";
	String in_95 = "";
	String in_96 = "";
	String in_97 = "";
	String in_98 = "";
	String in_99 = "";
	String in_100 = "";
	String in_101 = "";
	String in_102 = "";
	String in_103 = "";
	String in_104 = "";
	String in_105 = "";
	String in_106 = "";
	String in_107 = "";
	String in_108 = "";
	String in_109 = "";
	String in_110 = "";
	String in_111 = "";
	String in_112 = "";
	String in_113 = "";
	String in_114 = "";
	String in_115 = "";
	String in_116 = "";
	String in_117 = "";
	String in_118 = "";
	String in_119 = "";
	String in_120 = "";
	String in_121 = "";
	String in_122 = "";
	String in_123 = "";
	String in_124 = "";
	String in_125 = "";
	String in_126 = "";
	String in_127 = "";
	String in_128 = "";
	String in_129 = "";
	String in_130 = "";
	String in_131 = "";
	String in_132 = "";
	String in_133 = "";
	String in_134 = "";
	String in_135 = "";
	String in_136 = "";
	String in_137 = "";
	String in_138 = "";
	String in_139 = "";
	String in_140 = "";
	String in_141 = "";
	String in_142 = "";
	String in_143 = "";
	String in_144 = "";
	String in_145 = "";
	String in_146 = "";
	String in_147 = "";
	String in_148 = "";
	String in_149 = "";
	String in_150 = "";
	String in_151 = "";
	String in_152 = "";
	String in_153 = "";
	String in_154 = "";
	String in_155 = "";
	String in_156 = "";
	String in_157 = "";
	String in_158 = "";
	String in_159 = "";
	String in_160 = "";
	String in_161 = "";
	String in_162 = "";
	String in_163 = "";
	String in_164 = "";
	String in_165 = "";
	String in_166 = "";
	String in_167 = "";
	String in_168 = "";
	String in_169 = "";
	String in_170 = "";
	String in_171 = "";
	String in_172 = "";
	String in_173 = "";
	String in_174 = "";
	String in_175 = "";
	String in_176 = "";
	String in_177 = "";
	String in_178 = "";
	String in_179 = "";
	String in_180 = "";
	String in_181 = "";
	String in_182 = "99";
	String in_183 = "99";
	String in_184 = "99";
	String in_185 = "99";
	String in_186 = "99";
	String in_187 = "99";
	String in_188 = "99";
	String in_189 = "99";
	String in_190 = "";
	String in_191 = "";
	String in_192 = "";
	String in_193 = "";
	String in_194 = "";
	String in_195 = "";
	String in_196 = "";
	String in_197 = ""; 
	String in_198 = "";
	String in_199 = "";
	String in_200 = "";
	String in_201 = "";
	String in_202 = "";
	String in_203 = "";
	String in_204 = "";
	String in_205 = "";
	String in_206 = "";
	String in_207 = "";
	String in_208 = "";
	String in_209 = "";
	String in_210 = "";
	String in_211 = "";
	String in_212 = "";
	String in_213 = "";
	String in_214 = "0001";
	String in_215 = "0001";
	String in_216 = "0001";
	String in_217 = "0001";
	String in_218 = "0001";
	String in_219 = "0001";
	String in_220 = "0001";
	String in_221 = "0001";
	String in_222 = "";
	String in_223 = "";
	String in_224 = "";
	String in_225 = "";
	String in_226 = "";
	String in_227 = "";
	String in_228 = "";
	String in_229 = "";
	String in_230 = "";
	String in_231 = "";
	String in_232 = "";
	String in_233 = "";
	String in_234 = "";
	String in_235 = "";
	String in_236 = "";
	String in_237 = "";
	String in_238 = "";
	String in_239 = "";
	String in_240 = "";
	String in_241 = "";
	String in_242 = "";
	String in_243 = "";
	String in_244 = "";
	String in_245 = "";
	String in_246 = "";
	String in_247 = "";
	String in_248 = "";
	String in_249 = "";
	String in_250 = "";
	String in_251 = "";
	String in_252 = "";
	String in_253 = "";
	String in_254 = "";
	String in_255 = "";
	String in_256 = "";
	String in_257 = "";
	String in_258 = "";
	String in_259 = "";
	String in_260 = "";
	String in_261 = "";
	String in_262 = "";
	String in_263 = "";
	String in_264 = "";
	String in_265 = "";
	String in_266 = "";
	String in_267 = "";
	String in_268 = "";
	String in_269 = "";
	String in_270 = "000000000";
	String in_271 = "01";
	String in_272 = "01";
	String in_273 = "01";
	String in_274 = "01";
	String in_275 = "01";
	String in_276 = "01";
	String in_277 = "000000000";
	String in_278 = "";
	String in_279 = "";
	String in_280 = "";
	String in_281 = "";
	String in_282 = "";
	String in_283 = "";
	String in_284 = "";
	String in_285 = ""; 
	String in_286 = "";
	String in_287 = "";
	String in_288 = "";
	String in_289 = "";
	String in_290 = "";
	String in_291 = "";
	String in_292 = "";
	String in_293 = "";
	String in_294 = "";
	String in_295 = "";
	String in_296 = "";
	String in_297 = "";
	String in_298 = "";
	String in_299 = "";
	String in_300 = "";
	String in_301 = "";
	String in_302 = "";
	String in_303 = "";
	String in_304 = "";
	String in_305 = "";
	String in_306 = "";
	String in_307 = "";
	String in_308 = "";
	String in_309 = "";
	String in_310 = "";
	String in_311 = "";
	String in_312 = "";
	String in_313 = "";
	String in_314 = "";
	String in_315 = "";
	String in_316 = "";
	String in_317 = "";
	String in_318 = "";
	String in_319 = "";
	String in_320 = "";
	String in_321 = "";
	String in_322 = "";
	String in_323 = "";
	String in_324 = "";
	String in_325 = "";
	String in_326 = "";
	String in_327 = "";
	String in_328 = "";
	String in_329 = "";
	String in_330 = "";
	String in_331 = "01";
	String in_332 = "";
	String in_333 = "";
	String in_334 = "";
	String in_335 = "";
	String in_336 = "";
	String in_337 = "";
	String in_338 = "";
	String in_339 = "";
	String in_340 = "";
	String in_341 = "";
	String in_342 = "";
	String in_343 = "";
	String in_344 = "";
	String in_345 = "";
	String in_346 = "";
	
	String in_3310 = "6";
	String in_3320 = "6";
	String in_3330 = "6";
	String in_3340 = "6";
	String in_3350 = "6";
	String in_3360 = "6";
	String in_3370 = "";
	String in_3380 = "";
	String in_3390 = "";
	String in_3400 = "";
	String in_3410 = "";
	String in_3420 = "";
	String in_3430 = "";
	String in_3440 = "";
	String in_3450 = "";
	String in_3460 = "";
	
	String in_347 = "";
	String in_348 = "";
	String in_349 = "7399";
	String in_350 = "";
	String in_351 = "";
	String in_352 = "";
	String in_353 = "";
	String in_354 = "";
	String in_355 = "0";
	String in_356 = "0";
	String in_357 = "0";
	String in_358 = "0";
	String in_359 = "0";
	String in_360 = "0";
	String in_361 = "MST01";
	String in_362 = "MST01";
	String in_363 = "MST01";
	String in_364 = "MST01";
	String in_365 = "MST01";
	String in_366 = "MST01";
	String in_367 = "999";
	String in_368 = "999";
	String in_369 = "999";
	String in_370 = "999";
	String in_371 = "999";
	String in_372 = "999";
	String in_373 = "99";
	String in_374 = "99";
	String in_375 = "99";
	String in_376 = "99";
	String in_377 = "99";
	String in_378 = "99";
	String in_379 = "";
	String in_380 = "";
	String in_381 = "";
	String in_382 = "";
	String in_383 = "";
	String in_384 = "";
	String in_385 = "";
	String in_386 = "";
	String in_387 = "";
	String in_388 = "";
	String in_389 = "";
	String in_390 = "";
	String in_391 = "";
	String in_392 = "";
	String in_393 = "";
	String in_394 = ""; 
	
	String in_395 = "18";
	String in_396 = "18";
	String in_397 = "18";
	String in_398 = "18";
	String in_399 = "18";
	String in_400 = "18";
	String in_401 = "18";
	String in_402 = "18";
	String in_403 = "99";
	String in_404 = "99";
	String in_405 = "99";
	String in_406 = "99";
	String in_407 = "99";
	String in_408 = "99";
	String in_409 = "99";
	String in_410 = "99";
	String in_411 = "";
	String in_412 = "";
	String in_413 = "";
	String in_414 = "";
	String in_415 = "";
	String in_416 = "";
	String in_417 = "";
	String in_418 = "";
	String in_419 = "";
	String in_420 = "";
	String in_421 = "";
	String in_422 = "";
	String in_423 = "";
	String in_424 = "";
	String in_425 = "";
	String in_426 = "";
	String in_427 = "";
	String in_428 = "";
	String in_429 = "";
	String in_430 = "";
	String in_431 = "";
	String in_432 = "";
	String in_433 = "";
	String in_434 = "";
	String in_435 = "";
	String in_436 = "";
	String in_437 = "";
	String in_438 = "";
	String in_439 = "";
	String in_440 = "";
	String in_441 = "";
	String in_442 = "";
	String in_443 = "";
	String in_444 = "";
	String in_445 = "";
	String in_446 = "";
	String in_447 = "";
	String in_448 = "";
	String in_449 = "";
	String in_450 = "";
	String in_451 = "";
	String in_452 = "";
	String in_453 = "";
	String in_454 = "";
	String in_455 = "";
	String in_456 = "";
	String in_457 = "";
	String in_458 = "";
	String in_459 = "";
	String in_460 = "";
	String in_461 = "";
	String in_462 = "";
	String in_463 = "";
	String in_464 = "";
	String in_465 = "";
	String in_466 = "";
	String in_467 = "";
	String in_468 = "";
	String in_469 = "";
	String in_470 = "";
	String in_471 = "";
	String in_472 = "";
	String in_473 = "";
	String in_474 = "";
	String in_475 = "";
	String in_476 = "";
	String in_477 = "";
	String in_478 = "";
	String in_479 = "";
	String in_480 = "";
	String in_481 = "";
	String in_482 = "";
	String in_483 = "";
	String in_484 = "";
	String in_485 = "";
	String in_486 = "";
	String in_487 = "";
	String in_488 = "";
	String in_489 = "";
	String in_490 = "";
	
	// screen 1
	String in_491 = "6";
	String in_492 = "6";
	String in_493 = "6";
	String in_494 = "6";
	String in_495 = "6";
	String in_496 = "6";
	String in_497 = "6";
	String in_498 = "6";
	String in_499 = "";
	String in_500 = "";
	String in_501 = "";
	String in_502 = "";
	String in_503 = "";
	String in_504 = "";
	String in_505 = "";
	String in_506 = "";

	// screen 2
	String in_507 = "6";
	String in_508 = "6";
	String in_509 = "6";
	String in_510 = "6";
	String in_511 = "6";
	String in_512 = "6";
	String in_513 = "6";
	String in_514 = "6";
	String in_515 = "";
	String in_516 = "";
	String in_517 = "";
	String in_518 = "";
	String in_519 = "";
	String in_520 = "";
	String in_521 = "";
	String in_522 = "";
	
	//screen 3
	String in_523 = "6";
	String in_524 = "6";
	String in_525 = "6";
	String in_526 = "6";
	String in_527 = "6";
	String in_528 = "6"; 
	String in_529 = "";
	String in_530 = "";
	String in_531 = "";
	String in_532 = "";
	String in_533 = "";
	String in_534 = ""; 
	
	//screen 4
	String in_535 = "6";
	String in_536 = "6";
	String in_537 = "6";
	String in_538 = "6";
	String in_539 = "6";
	String in_540 = "6"; 
	String in_541 = "";
	String in_542 = "";
	String in_543 = "";
	String in_544 = "";
	String in_545 = "";
	String in_546 = "";
	
	//screen 5
	String in_547 = "6";
	String in_548 = "6";
	String in_549 = "6";
	String in_550 = "6";
	String in_551 = "6";
	String in_552 = "6"; 
	String in_553 = "6"; 
	String in_554 = "6"; 
	String in_555 = "";
	String in_556 = "";
	String in_557 = "";
	String in_558 = "";
	String in_559 = "";
	String in_560 = "";
	String in_561 = ""; 
	String in_562 = ""; 
	
/****************************************************************************/

	String in_563 = "";
	String in_564 = "";
	String in_565 = "";
	String in_566 = "";
	String in_567 = "";
	String in_568 = "";
	String in_569 = "";
	String in_570 = "";
	
/**************************************************/	
	
	
	
	String in_571 = "";
	String in_572 = "";
	String in_573 = "";
	String in_574 = "";
	String in_575 = "";
	String in_576 = "";
	String in_577 = "";
	String in_578 = "";
	String in_579 = "";
	String in_580 = "";
	String in_581 = "";
	String in_582 = "";
	String in_583 = "";
	String in_584 = "";
	String in_585 = "";
	String in_586 = "";
	String in_587 = "";
	String in_588 = "";
	String in_589 = "";
	String in_590 = "";
	String in_591 = "";
	String in_592 = "";
	String in_593 = "";
	String in_594 = "";
	String in_595 = "";
	String in_596 = "";
	String in_597 = "";
	String in_598 = "";
	String in_599 = "";
	String in_600 = "";
	String in_601 = "";
	String in_602 = "";
	String in_603 = "";
	String in_604 = "";
	String in_605 = "";
	String in_606 = "";
	String in_607 = "";
	String in_608 = "";
	String in_609 = "";
	String in_610 = "";
	String in_611 = "";
	String in_612 = "";
	String in_613 = "";
	String in_614 = "";
	String in_615 = "";
	String in_616 = "";
	String in_617 = "";
	String in_618 = "";
	String in_619 = "";
	String in_620 = "";
	String in_621 = "";
	String in_622 = "";
	String in_623 = "";
	String in_624 = "";
	String in_625 = "";
	String in_626 = "";

	
	String in_627 = "";
	String in_628 = "";
	String in_629 = "";
	String in_630 = "";
	String in_631 = "";
	String in_632 = "";
	String in_633 = "";
	String in_634 = "";
	String in_635 = "";
	String in_636 = "";
	String in_637 = "";
	String in_638 = "";
	String in_639 = "";
	String in_640 = "";
	String in_641 = "";
	String in_642 = "";
	String in_643 = "";
	String in_644 = "";
	String in_645 = "";
	String in_646 = "";
	String in_647 = "";
	String in_648 = "";
	String in_649 = "";
	String in_650 = "";
	String in_651 = "";
	String in_652 = "";
	String in_653 = "";
	String in_654 = "";
	String in_655 = "";
	String in_656 = "";
	String in_657 = "";
	String in_658 = "";
	String in_659 = "";
	String in_660 = "";
	String in_661 = "";
	String in_662 = "";
	String in_663 = "";
	String in_664 = "";
	

/****************************************************************************/
	
	String countryCode = request.getAttribute("countryCode").toString();
	System.out.println("countryCode ==="+countryCode);
	
	
	if(!countryCode.equals(Constants.COUNTRY_CODE_MY)){
		in_491 = "0";
		in_492 = "0";
		in_493 = "0";
		in_494 = "0";
		in_495 = "0";
		in_496 = "0";
		in_497 = "0";
		in_498 = "0";  
		
		in_507 = "0";
		in_508 = "0";
		in_509 = "0";
		in_510 = "0";
		in_511 = "0";
		in_512 = "0"; 
		in_513 = "0";
		in_514 = "0"; 
		
		in_523 = "0";
		in_524 = "0";
		in_525 = "0";
		in_526 = "0";
		in_527 = "0";
		in_528 = "0";
		
		in_539 = "0";
		in_540 = "0";
		in_541 = "0";
		in_542 = "0";
		in_543 = "0";
		in_544 = "0"; 
		
		in_553 = "0";
		in_554 = "0";
		in_555 = "0";
		in_556 = "0";
		in_557 = "0";
		in_558 = "0"; 
		
		op_e33 = "<option value=\"SR\" >SR (Standard Rate)</option>" 
				+ "<option value=\"EX\">EX (Exempted)</option>" 
				+ "<option value=\"ZR\">ZR (Zero Rate)</option>" 
				+ "<option value=\"OS\" selected='selected'>OS (Out of Scope)</option>";
	} else {
		
		op_e33 = "<option value=\"SR\" selected='selected'>SR (Standard Rate)</option>" 
				+ "<option value=\"EX\">EX (Exempted)</option>" 
				+ "<option value=\"ZR\">ZR (Zero Rate)</option>" 
				+ "<option value=\"OS\">OS (Out of Scope)</option>";
	}
	
	if(request.getAttribute("c_outlet") != null) {
		if(((CaseOutlet)request.getAttribute("c_outlet")).getOutlet().getMDRRate().length() > 0) {
			JSONObject obj = (JSONObject) JSONValue.parse(((CaseOutlet)request.getAttribute("c_outlet")).getOutlet().getMDRRate());

			in_1 = (obj.get("1") == null) ? "" : obj.get("1").toString();
			in_2 = (obj.get("2") == null) ? "" : obj.get("2").toString();
			in_3 = (obj.get("3") == null) ? "" : obj.get("3").toString();
			in_4 = (obj.get("4") == null) ? "" : obj.get("4").toString();
			in_5 = (obj.get("5") == null) ? "" : obj.get("5").toString();
			in_6 = (obj.get("6") == null) ? "" : obj.get("6").toString();
			in_7 = (obj.get("7") == null) ? "" : obj.get("7").toString();
			in_8 = (obj.get("8") == null) ? "" : obj.get("8").toString();
			in_9 = (obj.get("9") == null) ? "" : obj.get("9").toString();
			in_10 = (obj.get("10") == null) ? "" : obj.get("10").toString();
			in_11 = (obj.get("11") == null) ? "" : obj.get("11").toString();
			in_12 = (obj.get("12") == null) ? "" : obj.get("12").toString();
			in_13 = (obj.get("13") == null) ? "" : obj.get("13").toString();
			in_14 = (obj.get("14") == null) ? "" : obj.get("14").toString();
			in_15 = (obj.get("15") == null) ? "" : obj.get("15").toString();
			in_16 = (obj.get("16") == null) ? "" : obj.get("16").toString();
			in_17 = (obj.get("17") == null) ? "" : obj.get("17").toString();
			in_18 = (obj.get("18") == null) ? "" : obj.get("18").toString();
			in_19 = (obj.get("19") == null) ? "" : obj.get("19").toString();
			in_20 = (obj.get("20") == null) ? "" : obj.get("20").toString();
			in_21 = (obj.get("21") == null) ? "" : obj.get("21").toString();
			in_22 = (obj.get("22") == null) ? "" : obj.get("22").toString();
			in_23 = (obj.get("23") == null) ? "" : obj.get("23").toString();
			in_24 = (obj.get("24") == null) ? "" : obj.get("24").toString();
			in_25 = (obj.get("25") == null) ? "" : obj.get("25").toString();
			in_26 = (obj.get("26") == null) ? "" : obj.get("26").toString();
			in_27 = (obj.get("27") == null) ? "" : obj.get("27").toString();
			in_28 = (obj.get("28") == null) ? "" : obj.get("28").toString();
			in_29 = (obj.get("29") == null) ? "" : obj.get("29").toString();
			in_30 = (obj.get("30") == null) ? "" : obj.get("30").toString();
			in_31 = (obj.get("31") == null) ? "" : obj.get("31").toString();
			in_32 = (obj.get("32") == null) ? "" : obj.get("32").toString();
			in_33 = (obj.get("33") == null) ? "" : obj.get("33").toString();
			in_34 = (obj.get("34") == null) ? "" : obj.get("34").toString();
			in_35 = (obj.get("35") == null) ? "" : obj.get("35").toString();
			in_36 = (obj.get("36") == null) ? "" : obj.get("36").toString();
			in_37 = (obj.get("37") == null) ? "" : obj.get("37").toString();
			in_38 = (obj.get("38") == null) ? "" : obj.get("38").toString();
			in_39 = (obj.get("39") == null) ? "" : obj.get("39").toString();
			in_40 = (obj.get("40") == null) ? "" : obj.get("40").toString();
			in_41 = (obj.get("41") == null) ? "" : obj.get("41").toString();
			in_42 = (obj.get("42") == null) ? "" : obj.get("42").toString();
			in_43 = (obj.get("43") == null) ? "" : obj.get("43").toString();
			in_44 = (obj.get("44") == null) ? "" : obj.get("44").toString();
			in_45 = (obj.get("45") == null) ? "" : obj.get("45").toString();
			in_46 = (obj.get("46") == null) ? "" : obj.get("46").toString();
			in_47 = (obj.get("47") == null) ? "" : obj.get("47").toString();
			in_48 = (obj.get("48") == null) ? "" : obj.get("48").toString();
			in_49 = (obj.get("49") == null) ? "" : obj.get("49").toString();
			in_50 = (obj.get("50") == null) ? "" : obj.get("50").toString();
			in_51 = (obj.get("51") == null) ? "" : obj.get("51").toString();
			in_52 = (obj.get("52") == null) ? "" : obj.get("52").toString();
			in_53 = (obj.get("53") == null) ? "" : obj.get("53").toString();
			in_54 = (obj.get("54") == null) ? "" : obj.get("54").toString();
			in_55 = (obj.get("55") == null) ? "" : obj.get("55").toString();
			in_56 = (obj.get("56") == null) ? "" : obj.get("56").toString();
			in_57 = (obj.get("57") == null) ? "" : obj.get("57").toString();
			in_58 = (obj.get("58") == null) ? "" : obj.get("58").toString();
			in_59 = (obj.get("59") == null) ? "" : obj.get("59").toString();
			in_60 = (obj.get("60") == null) ? "" : obj.get("60").toString();
			in_61 = (obj.get("61") == null) ? "" : obj.get("61").toString();
			in_62 = (obj.get("62") == null) ? "" : obj.get("62").toString();
			in_63 = (obj.get("63") == null) ? "" : obj.get("63").toString();
			in_64 = (obj.get("64") == null) ? "" : obj.get("64").toString();
			in_65 = (obj.get("65") == null) ? "" : obj.get("65").toString();
			in_66 = (obj.get("66") == null) ? "" : obj.get("66").toString();
			in_67 = (obj.get("67") == null) ? "" : obj.get("67").toString();
			in_68 = (obj.get("68") == null) ? "" : obj.get("68").toString();
			in_69 = (obj.get("69") == null) ? "" : obj.get("69").toString();
			in_70 = (obj.get("70") == null) ? "" : obj.get("70").toString();
			in_71 = (obj.get("71") == null) ? "" : obj.get("71").toString();
			in_72 = (obj.get("72") == null) ? "" : obj.get("72").toString();
			in_73 = (obj.get("73") == null) ? "" : obj.get("73").toString();
			in_74 = (obj.get("74") == null) ? "" : obj.get("74").toString();
			in_75 = (obj.get("75") == null) ? "" : obj.get("75").toString();
			in_76 = (obj.get("76") == null) ? "" : obj.get("76").toString();
			in_77 = (obj.get("77") == null) ? "" : obj.get("77").toString();
			in_78 = (obj.get("78") == null) ? "" : obj.get("78").toString();
			in_79 = (obj.get("79") == null) ? "" : obj.get("79").toString();
			in_80 = (obj.get("80") == null) ? "" : obj.get("80").toString();
			in_81 = (obj.get("81") == null) ? "" : obj.get("81").toString();
			in_82 = (obj.get("82") == null) ? "" : obj.get("82").toString();
			in_83 = (obj.get("83") == null) ? "" : obj.get("83").toString();
			in_84 = (obj.get("84") == null) ? "" : obj.get("84").toString();
			in_85 = (obj.get("85") == null) ? "" : obj.get("85").toString();
			in_86 = (obj.get("86") == null) ? "" : obj.get("86").toString();
			in_87 = (obj.get("87") == null) ? "" : obj.get("87").toString();
			in_88 = (obj.get("88") == null) ? "" : obj.get("88").toString();
			in_89 = (obj.get("89") == null) ? "" : obj.get("89").toString();
			in_90 = (obj.get("90") == null) ? "" : obj.get("90").toString();
			in_91 = (obj.get("91") == null) ? "" : obj.get("91").toString();
			in_92 = (obj.get("92") == null) ? "" : obj.get("92").toString();
			in_93 = (obj.get("93") == null) ? "" : obj.get("93").toString();
			in_94 = (obj.get("94") == null) ? "" : obj.get("94").toString();
			in_95 = (obj.get("95") == null) ? "" : obj.get("95").toString();
			in_96 = (obj.get("96") == null) ? "" : obj.get("96").toString();
			in_97 = (obj.get("97") == null) ? "" : obj.get("97").toString();
			in_98 = (obj.get("98") == null) ? "" : obj.get("98").toString();
			in_99 = (obj.get("99") == null) ? "" : obj.get("99").toString();
			in_100 = (obj.get("100") == null) ? "" : obj.get("100").toString();
			in_101 = (obj.get("101") == null) ? "" : obj.get("101").toString();
			in_102 = (obj.get("102") == null) ? "" : obj.get("102").toString();
			in_103 = (obj.get("103") == null) ? "" : obj.get("103").toString();
			in_104 = (obj.get("104") == null) ? "" : obj.get("104").toString();
			in_105 = (obj.get("105") == null) ? "" : obj.get("105").toString();
			in_106 = (obj.get("106") == null) ? "" : obj.get("106").toString();
			in_107 = (obj.get("107") == null) ? "" : obj.get("107").toString();
			in_108 = (obj.get("108") == null) ? "" : obj.get("108").toString();
			in_109 = (obj.get("109") == null) ? "" : obj.get("109").toString();
			in_110 = (obj.get("110") == null) ? "" : obj.get("110").toString();
			in_111 = (obj.get("111") == null) ? "" : obj.get("111").toString();
			in_112 = (obj.get("112") == null) ? "" : obj.get("112").toString();
			in_113 = (obj.get("113") == null) ? "" : obj.get("113").toString();
			in_114 = (obj.get("114") == null) ? "" : obj.get("114").toString();
			in_115 = (obj.get("115") == null) ? "" : obj.get("115").toString();
			in_116 = (obj.get("116") == null) ? "" : obj.get("116").toString();
			in_117 = (obj.get("117") == null) ? "" : obj.get("117").toString();
			in_118 = (obj.get("118") == null) ? "" : obj.get("118").toString();
			in_119 = (obj.get("119") == null) ? "" : obj.get("119").toString();
			in_120 = (obj.get("120") == null) ? "" : obj.get("120").toString();
			in_121 = (obj.get("121") == null) ? "" : obj.get("121").toString();
			in_122 = (obj.get("122") == null) ? "" : obj.get("122").toString();
			in_123 = (obj.get("123") == null) ? "" : obj.get("123").toString();
			in_124 = (obj.get("124") == null) ? "" : obj.get("124").toString();
			in_125 = (obj.get("125") == null) ? "" : obj.get("125").toString();
			in_126 = (obj.get("126") == null) ? "" : obj.get("126").toString();
			in_127 = (obj.get("127") == null) ? "" : obj.get("127").toString();
			in_128 = (obj.get("128") == null) ? "" : obj.get("128").toString();
			in_129 = (obj.get("129") == null) ? "" : obj.get("129").toString();
			in_130 = (obj.get("130") == null) ? "" : obj.get("130").toString();
			in_131 = (obj.get("131") == null) ? "" : obj.get("131").toString();
			in_132 = (obj.get("132") == null) ? "" : obj.get("132").toString();
			in_133 = (obj.get("133") == null) ? "" : obj.get("133").toString();
			in_134 = (obj.get("134") == null) ? "" : obj.get("134").toString();
			in_135 = (obj.get("135") == null) ? "" : obj.get("135").toString();
			in_136 = (obj.get("136") == null) ? "" : obj.get("136").toString();
			in_137 = (obj.get("137") == null) ? "" : obj.get("137").toString();
			in_138 = (obj.get("138") == null) ? "" : obj.get("138").toString();
			in_139 = (obj.get("139") == null) ? "" : obj.get("139").toString();
			in_140 = (obj.get("140") == null) ? "" : obj.get("140").toString();
			in_141 = (obj.get("141") == null) ? "" : obj.get("141").toString();
			in_142 = (obj.get("142") == null) ? "" : obj.get("142").toString();
			in_143 = (obj.get("143") == null) ? "" : obj.get("143").toString();
			in_144 = (obj.get("144") == null) ? "" : obj.get("144").toString();
			in_145 = (obj.get("145") == null) ? "" : obj.get("145").toString();
			in_146 = (obj.get("146") == null) ? "" : obj.get("146").toString();
			in_147 = (obj.get("147") == null) ? "" : obj.get("147").toString();
			in_148 = (obj.get("148") == null) ? "" : obj.get("148").toString();
			in_149 = (obj.get("149") == null) ? "" : obj.get("149").toString();
			in_150 = (obj.get("150") == null) ? "" : obj.get("150").toString();
			in_151 = (obj.get("151") == null) ? "" : obj.get("151").toString();
			in_152 = (obj.get("152") == null) ? "" : obj.get("152").toString();
			in_153 = (obj.get("153") == null) ? "" : obj.get("153").toString();
			in_154 = (obj.get("154") == null) ? "" : obj.get("154").toString();
			in_155 = (obj.get("155") == null) ? "" : obj.get("155").toString();
			in_156 = (obj.get("156") == null) ? "" : obj.get("156").toString();
			in_157 = (obj.get("157") == null) ? "" : obj.get("157").toString();
			in_158 = (obj.get("158") == null) ? "" : obj.get("158").toString();
			in_159 = (obj.get("159") == null) ? "" : obj.get("159").toString();
			in_160 = (obj.get("160") == null) ? "" : obj.get("160").toString();
			in_161 = (obj.get("161") == null) ? "" : obj.get("161").toString();
			in_162 = (obj.get("162") == null) ? "" : obj.get("162").toString();
			in_163 = (obj.get("163") == null) ? "" : obj.get("163").toString();
			in_164 = (obj.get("164") == null) ? "" : obj.get("164").toString();
			in_165 = (obj.get("165") == null) ? "" : obj.get("165").toString();
			in_166 = (obj.get("166") == null) ? "" : obj.get("166").toString();
			in_167 = (obj.get("167") == null) ? "" : obj.get("167").toString();
			in_168 = (obj.get("168") == null) ? "" : obj.get("168").toString();
			in_169 = (obj.get("169") == null) ? "" : obj.get("169").toString();
			in_170 = (obj.get("170") == null) ? "" : obj.get("170").toString();
			in_171 = (obj.get("171") == null) ? "" : obj.get("171").toString();
			in_172 = (obj.get("172") == null) ? "" : obj.get("172").toString();
			in_173 = (obj.get("173") == null) ? "" : obj.get("173").toString();
			in_174 = (obj.get("174") == null) ? "" : obj.get("174").toString();
			in_175 = (obj.get("175") == null) ? "" : obj.get("175").toString();
			in_176 = (obj.get("176") == null) ? "" : obj.get("176").toString();
			in_177 = (obj.get("177") == null) ? "" : obj.get("177").toString();
			in_178 = (obj.get("178") == null) ? "" : obj.get("178").toString();
			in_179 = (obj.get("179") == null) ? "" : obj.get("179").toString();
			in_180 = (obj.get("180") == null) ? "" : obj.get("180").toString();
			in_181 = (obj.get("181") == null) ? "" : obj.get("181").toString();
			in_182 = (obj.get("182") == null) ? "" : obj.get("182").toString();
			in_183 = (obj.get("183") == null) ? "" : obj.get("183").toString();
			in_184 = (obj.get("184") == null) ? "" : obj.get("184").toString();
			in_185 = (obj.get("185") == null) ? "" : obj.get("185").toString();
			in_186 = (obj.get("186") == null) ? "" : obj.get("186").toString();
			in_187 = (obj.get("187") == null) ? "" : obj.get("187").toString();
			in_188 = (obj.get("188") == null) ? "" : obj.get("188").toString();
			in_189 = (obj.get("189") == null) ? "" : obj.get("189").toString();
			in_190 = (obj.get("190") == null) ? "" : obj.get("190").toString();
			in_191 = (obj.get("191") == null) ? "" : obj.get("191").toString();
			in_192 = (obj.get("192") == null) ? "" : obj.get("192").toString();
			in_193 = (obj.get("193") == null) ? "" : obj.get("193").toString();
			in_194 = (obj.get("194") == null) ? "" : obj.get("194").toString();
			in_195 = (obj.get("195") == null) ? "" : obj.get("195").toString();
			in_196 = (obj.get("196") == null) ? "" : obj.get("196").toString();
			in_197 = (obj.get("197") == null) ? "" : obj.get("197").toString();
			in_198 = (obj.get("198") == null) ? "" : obj.get("198").toString();
			in_199 = (obj.get("199") == null) ? "" : obj.get("199").toString();
			in_200 = (obj.get("200") == null) ? "" : obj.get("200").toString();
			in_201 = (obj.get("201") == null) ? "" : obj.get("201").toString();
			in_202 = (obj.get("202") == null) ? "" : obj.get("202").toString();
			in_203 = (obj.get("203") == null) ? "" : obj.get("203").toString();
			in_204 = (obj.get("204") == null) ? "" : obj.get("204").toString();
			in_205 = (obj.get("205") == null) ? "" : obj.get("205").toString();
			in_206 = (obj.get("206") == null) ? "" : obj.get("206").toString();
			in_207 = (obj.get("207") == null) ? "" : obj.get("207").toString();
			in_208 = (obj.get("208") == null) ? "" : obj.get("208").toString();
			in_209 = (obj.get("209") == null) ? "" : obj.get("209").toString();
			in_210 = (obj.get("210") == null) ? "" : obj.get("210").toString();
			in_211 = (obj.get("211") == null) ? "" : obj.get("211").toString();
			in_212 = (obj.get("212") == null) ? "" : obj.get("212").toString();
			in_213 = (obj.get("213") == null) ? "" : obj.get("213").toString();
			in_214 = (obj.get("214") == null) ? "" : obj.get("214").toString();
			in_215 = (obj.get("215") == null) ? "" : obj.get("215").toString();
			in_216 = (obj.get("216") == null) ? "" : obj.get("216").toString();
			in_217 = (obj.get("217") == null) ? "" : obj.get("217").toString();
			in_218 = (obj.get("218") == null) ? "" : obj.get("218").toString();
			in_219 = (obj.get("219") == null) ? "" : obj.get("219").toString();
			in_220 = (obj.get("220") == null) ? "" : obj.get("220").toString();
			in_221 = (obj.get("221") == null) ? "" : obj.get("221").toString();
			in_222 = (obj.get("222") == null) ? "" : obj.get("222").toString();
			in_223 = (obj.get("223") == null) ? "" : obj.get("223").toString();
			in_224 = (obj.get("224") == null) ? "" : obj.get("224").toString();
			in_225 = (obj.get("225") == null) ? "" : obj.get("225").toString();
			in_226 = (obj.get("226") == null) ? "" : obj.get("226").toString();
			in_227 = (obj.get("227") == null) ? "" : obj.get("227").toString();
			in_228 = (obj.get("228") == null) ? "" : obj.get("228").toString();
			in_229 = (obj.get("229") == null) ? "" : obj.get("229").toString();
			in_230 = (obj.get("230") == null) ? "" : obj.get("230").toString();
			in_231 = (obj.get("231") == null) ? "" : obj.get("231").toString();
			in_232 = (obj.get("232") == null) ? "" : obj.get("232").toString();
			in_233 = (obj.get("233") == null) ? "" : obj.get("233").toString();
			in_234 = (obj.get("234") == null) ? "" : obj.get("234").toString();
			in_235 = (obj.get("235") == null) ? "" : obj.get("235").toString();
			in_236 = (obj.get("236") == null) ? "" : obj.get("236").toString();
			in_237 = (obj.get("237") == null) ? "" : obj.get("237").toString();
			in_238 = (obj.get("238") == null) ? "" : obj.get("238").toString();
			in_239 = (obj.get("239") == null) ? "" : obj.get("239").toString();
			in_240 = (obj.get("240") == null) ? "" : obj.get("240").toString();
			in_241 = (obj.get("241") == null) ? "" : obj.get("241").toString();
			in_242 = (obj.get("242") == null) ? "" : obj.get("242").toString();
			in_243 = (obj.get("243") == null) ? "" : obj.get("243").toString();
			in_244 = (obj.get("244") == null) ? "" : obj.get("244").toString();
			in_245 = (obj.get("245") == null) ? "" : obj.get("245").toString();
			in_246 = (obj.get("246") == null) ? "" : obj.get("246").toString();
			in_247 = (obj.get("247") == null) ? "" : obj.get("247").toString();
			in_248 = (obj.get("248") == null) ? "" : obj.get("248").toString();
			in_249 = (obj.get("249") == null) ? "" : obj.get("249").toString();
			in_250 = (obj.get("250") == null) ? "" : obj.get("250").toString();
			in_251 = (obj.get("251") == null) ? "" : obj.get("251").toString();
			in_252 = (obj.get("252") == null) ? "" : obj.get("252").toString();
			in_253 = (obj.get("253") == null) ? "" : obj.get("253").toString();
			in_254 = (obj.get("254") == null) ? "" : obj.get("254").toString();
			in_255 = (obj.get("255") == null) ? "" : obj.get("255").toString();
			in_256 = (obj.get("256") == null) ? "" : obj.get("256").toString();
			in_257 = (obj.get("257") == null) ? "" : obj.get("257").toString();
			in_258 = (obj.get("258") == null) ? "" : obj.get("258").toString();
			in_259 = (obj.get("259") == null) ? "" : obj.get("259").toString();
			in_260 = (obj.get("260") == null) ? "" : obj.get("260").toString();
			in_261 = (obj.get("261") == null) ? "" : obj.get("261").toString();
			in_262 = (obj.get("262") == null) ? "" : obj.get("262").toString();
			in_263 = (obj.get("263") == null) ? "" : obj.get("263").toString();
			in_264 = (obj.get("264") == null) ? "" : obj.get("264").toString();
			in_265 = (obj.get("265") == null) ? "" : obj.get("265").toString();
			in_266 = (obj.get("266") == null) ? "" : obj.get("266").toString();
			in_267 = (obj.get("267") == null) ? "" : obj.get("267").toString();
			in_268 = (obj.get("268") == null) ? "" : obj.get("268").toString();
			in_269 = (obj.get("269") == null) ? "" : obj.get("269").toString();
			in_270 = (obj.get("270") == null) ? "" : obj.get("270").toString();
			in_271 = (obj.get("271") == null) ? "" : obj.get("271").toString();
			in_272 = (obj.get("272") == null) ? "" : obj.get("272").toString();
			in_273 = (obj.get("273") == null) ? "" : obj.get("273").toString();
			in_274 = (obj.get("274") == null) ? "" : obj.get("274").toString();
			in_275 = (obj.get("275") == null) ? "" : obj.get("275").toString();
			in_276 = (obj.get("276") == null) ? "" : obj.get("276").toString();
			in_277 = (obj.get("277") == null) ? "" : obj.get("277").toString();
			in_278 = (obj.get("278") == null) ? "" : obj.get("278").toString();
			in_279 = (obj.get("279") == null) ? "" : obj.get("279").toString();
			in_280 = (obj.get("280") == null) ? "" : obj.get("280").toString();
			in_281 = (obj.get("281") == null) ? "" : obj.get("281").toString();
			in_282 = (obj.get("282") == null) ? "" : obj.get("282").toString();
			in_283 = (obj.get("283") == null) ? "" : obj.get("283").toString();
			in_284 = (obj.get("284") == null) ? "" : obj.get("284").toString();
			in_285 = (obj.get("285") == null) ? "" : obj.get("285").toString();
			in_286 = (obj.get("286") == null) ? "" : obj.get("286").toString();
			in_287 = (obj.get("287") == null) ? "" : obj.get("287").toString();
			in_288 = (obj.get("288") == null) ? "" : obj.get("288").toString();
			in_289 = (obj.get("289") == null) ? "" : obj.get("289").toString();
			in_290 = (obj.get("290") == null) ? "" : obj.get("290").toString();
			in_291 = (obj.get("291") == null) ? "" : obj.get("291").toString();
			in_292 = (obj.get("292") == null) ? "" : obj.get("292").toString();
			in_293 = (obj.get("293") == null) ? "" : obj.get("293").toString();
			in_294 = (obj.get("294") == null) ? "" : obj.get("294").toString();
			in_295 = (obj.get("295") == null) ? "" : obj.get("295").toString();
			in_296 = (obj.get("296") == null) ? "" : obj.get("296").toString();
			in_297 = (obj.get("297") == null) ? "" : obj.get("297").toString();
			in_298 = (obj.get("298") == null) ? "" : obj.get("298").toString();
			in_299 = (obj.get("299") == null) ? "" : obj.get("299").toString();
			in_300 = (obj.get("300") == null) ? "" : obj.get("300").toString();
			in_301 = (obj.get("301") == null) ? "" : obj.get("301").toString();
			in_302 = (obj.get("302") == null) ? "" : obj.get("302").toString();
			in_303 = (obj.get("303") == null) ? "" : obj.get("303").toString();
			in_304 = (obj.get("304") == null) ? "" : obj.get("304").toString();
			in_305 = (obj.get("305") == null) ? "" : obj.get("305").toString();
			in_306 = (obj.get("306") == null) ? "" : obj.get("306").toString();
			in_307 = (obj.get("307") == null) ? "" : obj.get("307").toString();
			in_308 = (obj.get("308") == null) ? "" : obj.get("308").toString();
			in_309 = (obj.get("309") == null) ? "" : obj.get("309").toString();
			in_310 = (obj.get("310") == null) ? "" : obj.get("310").toString();
			in_311 = (obj.get("311") == null) ? "" : obj.get("311").toString();
			in_312 = (obj.get("312") == null) ? "" : obj.get("312").toString();
			in_313 = (obj.get("313") == null) ? "" : obj.get("313").toString();
			in_314 = (obj.get("314") == null) ? "" : obj.get("314").toString();
			in_315 = (obj.get("315") == null) ? "" : obj.get("315").toString();
			in_316 = (obj.get("316") == null) ? "" : obj.get("316").toString();
			in_317 = (obj.get("317") == null) ? "" : obj.get("317").toString();
			in_318 = (obj.get("318") == null) ? "" : obj.get("318").toString();
			in_319 = (obj.get("319") == null) ? "" : obj.get("319").toString();
			in_320 = (obj.get("320") == null) ? "" : obj.get("320").toString();
			in_321 = (obj.get("321") == null) ? "" : obj.get("321").toString();
			in_322 = (obj.get("322") == null) ? "" : obj.get("322").toString();
			in_323 = (obj.get("323") == null) ? "" : obj.get("323").toString();
			in_324 = (obj.get("324") == null) ? "" : obj.get("324").toString();
			in_325 = (obj.get("325") == null) ? "" : obj.get("325").toString();
			in_326 = (obj.get("326") == null) ? "" : obj.get("326").toString();
			in_327 = (obj.get("327") == null) ? "" : obj.get("327").toString();
			in_328 = (obj.get("328") == null) ? "" : obj.get("328").toString();
			in_329 = (obj.get("329") == null) ? "" : obj.get("329").toString();
			in_330 = (obj.get("330") == null) ? "" : obj.get("330").toString();
			in_331 = (obj.get("331") == null) ? "" : obj.get("331").toString();
			in_332 = (obj.get("332") == null) ? "" : obj.get("332").toString();
			in_333 = (obj.get("333") == null) ? "" : obj.get("333").toString();
			in_334 = (obj.get("334") == null) ? "" : obj.get("334").toString();
			in_335 = (obj.get("335") == null) ? "" : obj.get("335").toString();
			in_336 = (obj.get("336") == null) ? "" : obj.get("336").toString();
			in_337 = (obj.get("337") == null) ? "" : obj.get("337").toString();
			in_338 = (obj.get("338") == null) ? "" : obj.get("338").toString();
			in_339 = (obj.get("339") == null) ? "" : obj.get("339").toString();
			in_340 = (obj.get("340") == null) ? "" : obj.get("340").toString();
			in_341 = (obj.get("341") == null) ? "" : obj.get("341").toString();
			in_342 = (obj.get("342") == null) ? "" : obj.get("342").toString();
			in_343 = (obj.get("343") == null) ? "" : obj.get("343").toString();
			in_344 = (obj.get("344") == null) ? "" : obj.get("344").toString();
			in_345 = (obj.get("345") == null) ? "" : obj.get("345").toString();
			in_346 = (obj.get("346") == null) ? "" : obj.get("346").toString();
			in_347 = (obj.get("347") == null) ? "" : obj.get("347").toString();
			in_348 = (obj.get("348") == null) ? "" : obj.get("348").toString();
			in_349 = (obj.get("349") == null) ? "" : obj.get("349").toString();
			in_350 = (obj.get("350") == null) ? "" : obj.get("350").toString();
			in_351 = (obj.get("351") == null) ? "" : obj.get("351").toString();
			in_352 = (obj.get("352") == null) ? "" : obj.get("352").toString();
			in_353 = (obj.get("353") == null) ? "" : obj.get("353").toString();
			in_354 = (obj.get("354") == null) ? "" : obj.get("354").toString();
			in_355 = (obj.get("355") == null) ? "" : obj.get("355").toString();
			in_356 = (obj.get("356") == null) ? "" : obj.get("356").toString();
			in_357 = (obj.get("357") == null) ? "" : obj.get("357").toString();
			in_358 = (obj.get("358") == null) ? "" : obj.get("358").toString();
			in_359 = (obj.get("359") == null) ? "" : obj.get("359").toString();
			in_360 = (obj.get("360") == null) ? "" : obj.get("360").toString();
			in_361 = (obj.get("361") == null) ? "" : obj.get("361").toString();
			in_362 = (obj.get("362") == null) ? "" : obj.get("362").toString();
			in_363 = (obj.get("363") == null) ? "" : obj.get("363").toString();
			in_364 = (obj.get("364") == null) ? "" : obj.get("364").toString();
			in_365 = (obj.get("365") == null) ? "" : obj.get("365").toString();
			in_366 = (obj.get("366") == null) ? "" : obj.get("366").toString();
			in_367 = (obj.get("367") == null) ? "" : obj.get("367").toString();
			in_368 = (obj.get("368") == null) ? "" : obj.get("368").toString();
			in_369 = (obj.get("369") == null) ? "" : obj.get("369").toString();
			in_370 = (obj.get("370") == null) ? "" : obj.get("370").toString();
			in_371 = (obj.get("371") == null) ? "" : obj.get("371").toString();
			in_372 = (obj.get("372") == null) ? "" : obj.get("372").toString();
			in_373 = (obj.get("373") == null) ? "" : obj.get("373").toString();
			in_374 = (obj.get("374") == null) ? "" : obj.get("374").toString();
			in_375 = (obj.get("375") == null) ? "" : obj.get("375").toString();
			in_376 = (obj.get("376") == null) ? "" : obj.get("376").toString();
			in_377 = (obj.get("377") == null) ? "" : obj.get("377").toString();
			in_378 = (obj.get("378") == null) ? "" : obj.get("378").toString();
			in_379 = (obj.get("379") == null) ? "" : obj.get("379").toString();
			in_380 = (obj.get("380") == null) ? "" : obj.get("380").toString();
			in_381 = (obj.get("381") == null) ? "" : obj.get("381").toString();
			in_382 = (obj.get("382") == null) ? "" : obj.get("382").toString();
			in_383 = (obj.get("383") == null) ? "" : obj.get("383").toString();
			in_384 = (obj.get("384") == null) ? "" : obj.get("384").toString();
			in_385 = (obj.get("385") == null) ? "" : obj.get("385").toString();
			in_386 = (obj.get("386") == null) ? "" : obj.get("386").toString();
			in_387 = (obj.get("387") == null) ? "" : obj.get("387").toString();
			in_388 = (obj.get("388") == null) ? "" : obj.get("388").toString();
			in_389 = (obj.get("389") == null) ? "" : obj.get("389").toString();
			in_390 = (obj.get("390") == null) ? "" : obj.get("390").toString();
			in_391 = (obj.get("391") == null) ? "" : obj.get("391").toString();
			in_392 = (obj.get("392") == null) ? "" : obj.get("392").toString();
			in_393 = (obj.get("393") == null) ? "" : obj.get("393").toString();
			in_394 = (obj.get("394") == null) ? "" : obj.get("394").toString();
			in_395 = (obj.get("395") == null) ? "" : obj.get("395").toString();
			in_396 = (obj.get("396") == null) ? "" : obj.get("396").toString();
			in_397 = (obj.get("397") == null) ? "" : obj.get("397").toString();
			in_398 = (obj.get("398") == null) ? "" : obj.get("398").toString();
			in_399 = (obj.get("399") == null) ? "" : obj.get("399").toString();
			in_400 = (obj.get("400") == null) ? "" : obj.get("400").toString();
			in_401 = (obj.get("401") == null) ? "" : obj.get("401").toString();
			in_402 = (obj.get("402") == null) ? "" : obj.get("402").toString();
			in_403 = (obj.get("403") == null) ? "" : obj.get("403").toString();
			in_404 = (obj.get("404") == null) ? "" : obj.get("404").toString();
			in_405 = (obj.get("405") == null) ? "" : obj.get("405").toString();
			in_406 = (obj.get("406") == null) ? "" : obj.get("406").toString();
			in_407 = (obj.get("407") == null) ? "" : obj.get("407").toString();
			in_408 = (obj.get("408") == null) ? "" : obj.get("408").toString();
			in_409 = (obj.get("409") == null) ? "" : obj.get("409").toString();
			in_410 = (obj.get("410") == null) ? "" : obj.get("410").toString();
			in_411 = (obj.get("411") == null) ? "" : obj.get("411").toString();
			in_412 = (obj.get("412") == null) ? "" : obj.get("412").toString();
			in_413 = (obj.get("413") == null) ? "" : obj.get("413").toString();
			in_414 = (obj.get("414") == null) ? "" : obj.get("414").toString();
			in_415 = (obj.get("415") == null) ? "" : obj.get("415").toString();
			in_416 = (obj.get("416") == null) ? "" : obj.get("416").toString();
			in_417 = (obj.get("417") == null) ? "" : obj.get("417").toString();
			in_418 = (obj.get("418") == null) ? "" : obj.get("418").toString();
			in_419 = (obj.get("419") == null) ? "" : obj.get("419").toString();
			in_420 = (obj.get("420") == null) ? "" : obj.get("420").toString();
			in_421 = (obj.get("421") == null) ? "" : obj.get("421").toString();
			in_422 = (obj.get("422") == null) ? "" : obj.get("422").toString();
			in_423 = (obj.get("423") == null) ? "" : obj.get("423").toString();
			in_424 = (obj.get("424") == null) ? "" : obj.get("424").toString();
			in_425 = (obj.get("425") == null) ? "" : obj.get("425").toString();
			in_426 = (obj.get("426") == null) ? "" : obj.get("426").toString();
			in_427 = (obj.get("427") == null) ? "" : obj.get("427").toString();
			in_428 = (obj.get("428") == null) ? "" : obj.get("428").toString();
			in_429 = (obj.get("429") == null) ? "" : obj.get("429").toString();
			in_430 = (obj.get("430") == null) ? "" : obj.get("430").toString();
			in_431 = (obj.get("431") == null) ? "" : obj.get("431").toString();
			in_432 = (obj.get("432") == null) ? "" : obj.get("432").toString();
			in_433 = (obj.get("433") == null) ? "" : obj.get("433").toString();
			in_434 = (obj.get("434") == null) ? "" : obj.get("434").toString();
			in_435 = (obj.get("435") == null) ? "" : obj.get("435").toString();
			in_436 = (obj.get("436") == null) ? "" : obj.get("436").toString();
			in_437 = (obj.get("437") == null) ? "" : obj.get("437").toString();
			in_438 = (obj.get("438") == null) ? "" : obj.get("438").toString();
			in_439 = (obj.get("439") == null) ? "" : obj.get("439").toString();
			in_440 = (obj.get("440") == null) ? "" : obj.get("440").toString();
			in_441 = (obj.get("441") == null) ? "" : obj.get("441").toString();
			in_442 = (obj.get("442") == null) ? "" : obj.get("442").toString();
			in_443 = (obj.get("443") == null) ? "" : obj.get("443").toString();
			in_444 = (obj.get("444") == null) ? "" : obj.get("444").toString();
			in_445 = (obj.get("445") == null) ? "" : obj.get("445").toString();
			in_446 = (obj.get("446") == null) ? "" : obj.get("446").toString();
			in_447 = (obj.get("447") == null) ? "" : obj.get("447").toString();
			in_448 = (obj.get("448") == null) ? "" : obj.get("448").toString();
			in_449 = (obj.get("449") == null) ? "" : obj.get("449").toString();
			in_450 = (obj.get("450") == null) ? "" : obj.get("450").toString();
			in_451 = (obj.get("451") == null) ? "" : obj.get("451").toString();
			in_452 = (obj.get("452") == null) ? "" : obj.get("452").toString();
			in_453 = (obj.get("453") == null) ? "" : obj.get("453").toString();
			in_454 = (obj.get("454") == null) ? "" : obj.get("454").toString();
			in_455 = (obj.get("455") == null) ? "" : obj.get("455").toString();
			in_456 = (obj.get("456") == null) ? "" : obj.get("456").toString();
			in_457 = (obj.get("457") == null) ? "" : obj.get("457").toString();
			in_458 = (obj.get("458") == null) ? "" : obj.get("458").toString();
			in_459 = (obj.get("459") == null) ? "" : obj.get("459").toString();
			in_460 = (obj.get("460") == null) ? "" : obj.get("460").toString();
			in_461 = (obj.get("461") == null) ? "" : obj.get("461").toString();
			in_462 = (obj.get("462") == null) ? "" : obj.get("462").toString();
			in_463 = (obj.get("463") == null) ? "" : obj.get("463").toString();
			in_464 = (obj.get("464") == null) ? "" : obj.get("464").toString();
			in_465 = (obj.get("465") == null) ? "" : obj.get("465").toString();
			in_466 = (obj.get("466") == null) ? "" : obj.get("466").toString();
			in_467 = (obj.get("467") == null) ? "" : obj.get("467").toString();
			in_468 = (obj.get("468") == null) ? "" : obj.get("468").toString();
			in_469 = (obj.get("469") == null) ? "" : obj.get("469").toString();
			in_470 = (obj.get("470") == null) ? "" : obj.get("470").toString();
			in_471 = (obj.get("471") == null) ? "" : obj.get("471").toString();
			in_472 = (obj.get("472") == null) ? "" : obj.get("472").toString();
			in_473 = (obj.get("473") == null) ? "" : obj.get("473").toString();
			in_474 = (obj.get("474") == null) ? "" : obj.get("474").toString();
			in_475 = (obj.get("475") == null) ? "" : obj.get("475").toString();
			in_476 = (obj.get("476") == null) ? "" : obj.get("476").toString();

			in_491 = (obj.get("491") == null) ? "" : obj.get("491").toString();
			in_492 = (obj.get("492") == null) ? "" : obj.get("492").toString();
			in_493 = (obj.get("493") == null) ? "" : obj.get("493").toString();
			in_494 = (obj.get("494") == null) ? "" : obj.get("494").toString();
			in_495 = (obj.get("495") == null) ? "" : obj.get("495").toString();
			in_496 = (obj.get("496") == null) ? "" : obj.get("496").toString();
			in_497 = (obj.get("497") == null) ? "" : obj.get("497").toString();
			in_498 = (obj.get("498") == null) ? "" : obj.get("498").toString();
			in_499 = (obj.get("499") == null) ? "" : obj.get("499").toString();
			in_500 = (obj.get("500") == null) ? "" : obj.get("500").toString();
			in_501 = (obj.get("501") == null) ? "" : obj.get("501").toString();
			in_502 = (obj.get("502") == null) ? "" : obj.get("502").toString();
			in_503 = (obj.get("503") == null) ? "" : obj.get("503").toString();
			in_504 = (obj.get("504") == null) ? "" : obj.get("504").toString();
			in_505 = (obj.get("505") == null) ? "" : obj.get("505").toString();
			in_506 = (obj.get("506") == null) ? "" : obj.get("506").toString();
			in_507 = (obj.get("507") == null) ? "" : obj.get("507").toString();
			in_508 = (obj.get("508") == null) ? "" : obj.get("508").toString();
			in_509 = (obj.get("509") == null) ? "" : obj.get("509").toString();
			in_510 = (obj.get("510") == null) ? "" : obj.get("510").toString();
			in_511 = (obj.get("511") == null) ? "" : obj.get("511").toString();
			in_512 = (obj.get("512") == null) ? "" : obj.get("512").toString();
			in_513 = (obj.get("513") == null) ? "" : obj.get("513").toString();
			in_514 = (obj.get("514") == null) ? "" : obj.get("514").toString();
			in_515 = (obj.get("515") == null) ? "" : obj.get("515").toString();
			in_516 = (obj.get("516") == null) ? "" : obj.get("516").toString();
			in_517 = (obj.get("517") == null) ? "" : obj.get("517").toString();
			in_518 = (obj.get("518") == null) ? "" : obj.get("518").toString();
			in_519 = (obj.get("519") == null) ? "" : obj.get("519").toString();
			in_520 = (obj.get("520") == null) ? "" : obj.get("520").toString();
			in_521 = (obj.get("521") == null) ? "" : obj.get("521").toString();
			in_522 = (obj.get("522") == null) ? "" : obj.get("522").toString();
			in_523 = (obj.get("523") == null) ? "" : obj.get("523").toString();
			in_524 = (obj.get("524") == null) ? "" : obj.get("524").toString();
			in_525 = (obj.get("525") == null) ? "" : obj.get("525").toString();
			in_526 = (obj.get("526") == null) ? "" : obj.get("526").toString();
			in_527 = (obj.get("527") == null) ? "" : obj.get("527").toString();
			in_528 = (obj.get("528") == null) ? "" : obj.get("528").toString();
			in_529 = (obj.get("529") == null) ? "" : obj.get("529").toString();
			in_530 = (obj.get("530") == null) ? "" : obj.get("530").toString();
			in_531 = (obj.get("531") == null) ? "" : obj.get("531").toString();
			in_532 = (obj.get("532") == null) ? "" : obj.get("532").toString();
			in_533 = (obj.get("533") == null) ? "" : obj.get("533").toString();
			in_534 = (obj.get("534") == null) ? "" : obj.get("534").toString();
			
			in_535 = (obj.get("535") == null) ? "" : obj.get("535").toString();
			in_536 = (obj.get("536") == null) ? "" : obj.get("536").toString();
			in_537 = (obj.get("537") == null) ? "" : obj.get("537").toString();
			in_538 = (obj.get("538") == null) ? "" : obj.get("538").toString();
			in_539 = (obj.get("539") == null) ? "" : obj.get("539").toString();
			in_540 = (obj.get("540") == null) ? "" : obj.get("540").toString();
			in_541 = (obj.get("541") == null) ? "" : obj.get("541").toString();
			in_542 = (obj.get("542") == null) ? "" : obj.get("542").toString();
			in_543 = (obj.get("543") == null) ? "" : obj.get("543").toString();
			in_544 = (obj.get("544") == null) ? "" : obj.get("544").toString();
			in_545 = (obj.get("545") == null) ? "" : obj.get("545").toString();
			in_546 = (obj.get("546") == null) ? "" : obj.get("546").toString();
			in_547 = (obj.get("547") == null) ? "" : obj.get("547").toString();
			in_548 = (obj.get("548") == null) ? "" : obj.get("548").toString();
			in_549 = (obj.get("549") == null) ? "" : obj.get("549").toString();
			in_550 = (obj.get("550") == null) ? "" : obj.get("550").toString();
			in_551 = (obj.get("551") == null) ? "" : obj.get("551").toString();
			in_552 = (obj.get("552") == null) ? "" : obj.get("552").toString();
			in_553 = (obj.get("553") == null) ? "" : obj.get("553").toString();
			in_554 = (obj.get("554") == null) ? "" : obj.get("554").toString();
			in_555 = (obj.get("555") == null) ? "" : obj.get("555").toString();
			in_556 = (obj.get("556") == null) ? "" : obj.get("556").toString();
			in_557 = (obj.get("557") == null) ? "" : obj.get("557").toString();
			in_558 = (obj.get("558") == null) ? "" : obj.get("558").toString();
			in_559 = (obj.get("559") == null) ? "" : obj.get("559").toString();
			in_560 = (obj.get("560") == null) ? "" : obj.get("560").toString();
			in_561 = (obj.get("561") == null) ? "" : obj.get("561").toString();
			in_562 = (obj.get("562") == null) ? "" : obj.get("562").toString();
			
			/****************************************************************************************************************/
			in_563 = (obj.get("563") == null) ? "" : obj.get("563").toString();
			in_564 = (obj.get("564") == null) ? "" : obj.get("564").toString();
			in_565 = (obj.get("565") == null) ? "" : obj.get("565").toString();
			in_566 = (obj.get("566") == null) ? "" : obj.get("566").toString();
			in_567 = (obj.get("567") == null) ? "" : obj.get("567").toString();
			in_568 = (obj.get("568") == null) ? "" : obj.get("568").toString();
			in_569 = (obj.get("569") == null) ? "" : obj.get("569").toString();
			in_570 = (obj.get("570") == null) ? "" : obj.get("570").toString();
			
			in_571 = (obj.get("571") == null) ? "" : obj.get("571").toString();
			in_572 = (obj.get("572") == null) ? "" : obj.get("572").toString();
			in_573 = (obj.get("573") == null) ? "" : obj.get("573").toString();
			in_574 = (obj.get("574") == null) ? "" : obj.get("574").toString();
			in_575 = (obj.get("575") == null) ? "" : obj.get("575").toString();
			in_576 = (obj.get("576") == null) ? "" : obj.get("576").toString();
			in_577 = (obj.get("577") == null) ? "" : obj.get("577").toString();
			in_578 = (obj.get("578") == null) ? "" : obj.get("578").toString();
			in_579 = (obj.get("579") == null) ? "" : obj.get("579").toString();
			in_580 = (obj.get("580") == null) ? "" : obj.get("580").toString();
			in_581 = (obj.get("581") == null) ? "" : obj.get("581").toString();
			in_582 = (obj.get("582") == null) ? "" : obj.get("582").toString();
			in_583 = (obj.get("583") == null) ? "" : obj.get("583").toString();
			in_584 = (obj.get("584") == null) ? "" : obj.get("584").toString();
			in_585 = (obj.get("585") == null) ? "" : obj.get("585").toString();
			in_586 = (obj.get("586") == null) ? "" : obj.get("586").toString();
			in_587 = (obj.get("587") == null) ? "" : obj.get("587").toString();
			in_588 = (obj.get("588") == null) ? "" : obj.get("588").toString();
			in_589 = (obj.get("589") == null) ? "" : obj.get("589").toString();
			in_590 = (obj.get("590") == null) ? "" : obj.get("590").toString();
			in_591 = (obj.get("591") == null) ? "" : obj.get("591").toString();
			in_592 = (obj.get("592") == null) ? "" : obj.get("592").toString();
			in_593 = (obj.get("593") == null) ? "" : obj.get("593").toString();
			in_594 = (obj.get("594") == null) ? "" : obj.get("594").toString();
			in_595 = (obj.get("595") == null) ? "" : obj.get("595").toString();
			in_596 = (obj.get("596") == null) ? "" : obj.get("596").toString();
			in_597 = (obj.get("597") == null) ? "" : obj.get("597").toString();
			in_598 = (obj.get("598") == null) ? "" : obj.get("598").toString();
			in_599 = (obj.get("599") == null) ? "" : obj.get("599").toString();
			in_600 = (obj.get("600") == null) ? "" : obj.get("600").toString();
			in_601 = (obj.get("601") == null) ? "" : obj.get("601").toString();
			in_602 = (obj.get("602") == null) ? "" : obj.get("602").toString();
			in_603 = (obj.get("603") == null) ? "" : obj.get("603").toString();
			in_604 = (obj.get("604") == null) ? "" : obj.get("604").toString();
			in_605 = (obj.get("605") == null) ? "" : obj.get("605").toString();
			in_606 = (obj.get("606") == null) ? "" : obj.get("606").toString();
			in_607 = (obj.get("607") == null) ? "" : obj.get("607").toString();
			in_608 = (obj.get("608") == null) ? "" : obj.get("608").toString();
			in_609 = (obj.get("609") == null) ? "" : obj.get("609").toString();
			in_610 = (obj.get("610") == null) ? "" : obj.get("610").toString();
			in_611 = (obj.get("611") == null) ? "" : obj.get("611").toString();
			in_612 = (obj.get("612") == null) ? "" : obj.get("612").toString();
			in_613 = (obj.get("613") == null) ? "" : obj.get("613").toString();
			in_614 = (obj.get("614") == null) ? "" : obj.get("614").toString();
			in_615 = (obj.get("615") == null) ? "" : obj.get("615").toString();
			in_616 = (obj.get("616") == null) ? "" : obj.get("616").toString();
			in_617 = (obj.get("617") == null) ? "" : obj.get("617").toString();
			in_618 = (obj.get("618") == null) ? "" : obj.get("618").toString();
			in_619 = (obj.get("619") == null) ? "" : obj.get("619").toString();
			in_620 = (obj.get("620") == null) ? "" : obj.get("620").toString();
			in_621 = (obj.get("621") == null) ? "" : obj.get("621").toString();
			in_622 = (obj.get("622") == null) ? "" : obj.get("622").toString();
			in_623 = (obj.get("623") == null) ? "" : obj.get("623").toString();
			in_624 = (obj.get("624") == null) ? "" : obj.get("624").toString();
			in_625 = (obj.get("625") == null) ? "" : obj.get("625").toString();
			in_626 = (obj.get("626") == null) ? "" : obj.get("626").toString();
			
			
			in_627 = (obj.get("627") == null) ? "" : obj.get("627").toString();
			in_628 = (obj.get("628") == null) ? "" : obj.get("628").toString();
			in_629 = (obj.get("629") == null) ? "" : obj.get("629").toString();
			in_630 = (obj.get("630") == null) ? "" : obj.get("630").toString();
			in_631 = (obj.get("631") == null) ? "" : obj.get("631").toString();
			in_632 = (obj.get("632") == null) ? "" : obj.get("632").toString();
			in_633 = (obj.get("633") == null) ? "" : obj.get("633").toString();
			in_634 = (obj.get("634") == null) ? "" : obj.get("634").toString();
			in_635 = (obj.get("635") == null) ? "" : obj.get("635").toString();
			in_636 = (obj.get("636") == null) ? "" : obj.get("636").toString();
			in_637 = (obj.get("637") == null) ? "" : obj.get("637").toString();
			in_638 = (obj.get("638") == null) ? "" : obj.get("638").toString();
			in_639 = (obj.get("639") == null) ? "" : obj.get("639").toString();
			in_640 = (obj.get("640") == null) ? "" : obj.get("640").toString();
			in_641 = (obj.get("641") == null) ? "" : obj.get("641").toString();
			in_642 = (obj.get("642") == null) ? "" : obj.get("642").toString();
			in_643 = (obj.get("643") == null) ? "" : obj.get("643").toString();
			in_644 = (obj.get("644") == null) ? "" : obj.get("644").toString();
			in_645 = (obj.get("645") == null) ? "" : obj.get("645").toString();
			in_646 = (obj.get("646") == null) ? "" : obj.get("646").toString();
			in_647 = (obj.get("647") == null) ? "" : obj.get("647").toString();
			in_648 = (obj.get("648") == null) ? "" : obj.get("648").toString();
			in_649 = (obj.get("649") == null) ? "" : obj.get("649").toString();
			in_650 = (obj.get("650") == null) ? "" : obj.get("650").toString();
			in_651 = (obj.get("651") == null) ? "" : obj.get("651").toString();
			in_652 = (obj.get("652") == null) ? "" : obj.get("652").toString();
			in_653 = (obj.get("653") == null) ? "" : obj.get("653").toString();
			in_654 = (obj.get("654") == null) ? "" : obj.get("654").toString();
			in_655 = (obj.get("655") == null) ? "" : obj.get("655").toString();
			in_656 = (obj.get("656") == null) ? "" : obj.get("656").toString();
			
			in_657 = (obj.get("657") == null) ? "" : obj.get("657").toString();
			in_658 = (obj.get("658") == null) ? "" : obj.get("658").toString();
			in_659 = (obj.get("659") == null) ? "" : obj.get("659").toString();
			in_660 = (obj.get("660") == null) ? "" : obj.get("660").toString();
			in_661 = (obj.get("661") == null) ? "" : obj.get("661").toString();
			in_662 = (obj.get("662") == null) ? "" : obj.get("662").toString();
			in_663 = (obj.get("663") == null) ? "" : obj.get("663").toString();
			in_664 = (obj.get("664") == null) ? "" : obj.get("664").toString();

			

/****************************************************************************************************************/

			 
			try {
				in_477 = (obj.get("477") == null) ? "" : obj.get("477").toString();
				in_478 = (obj.get("478") == null) ? "" : obj.get("478").toString();
				in_479 = (obj.get("479") == null) ? "" : obj.get("479").toString();
				in_480 = (obj.get("480") == null) ? "" : obj.get("480").toString();
				in_481 = (obj.get("481") == null) ? "" : obj.get("481").toString();
				in_482 = (obj.get("482") == null) ? "" : obj.get("482").toString();
				in_483 = (obj.get("483") == null) ? "" : obj.get("483").toString();
				in_484 = (obj.get("484") == null) ? "" : obj.get("484").toString();
				in_485 = (obj.get("485") == null) ? "" : obj.get("485").toString();
				in_486 = (obj.get("486") == null) ? "" : obj.get("486").toString();
				in_487 = (obj.get("487") == null) ? "" : obj.get("487").toString();
				in_488 = (obj.get("488") == null) ? "" : obj.get("488").toString();
				in_489 = (obj.get("489") == null) ? "" : obj.get("489").toString();
				in_490 = (obj.get("490") == null) ? "" : obj.get("490").toString();
			
			} catch (Exception e) {}
		}
		else {
			if(((CaseOutlet)request.getAttribute("c_outlet")).getOutlet().getOtherInfo().length() > 0) {
				JSONObject obj = (JSONObject) JSONValue.parse(((CaseOutlet)request.getAttribute("c_outlet")).getOutlet().getOtherInfo());
				
				in_5 = obj.get("hierarchy_no") == null ? "000000000" : obj.get("hierarchy_no").toString();
				in_277 = obj.get("chain_merchant") == null ? "000000000" : obj.get("chain_merchant").toString();
				in_337 = obj.get("level_5") == null ? "" : obj.get("level_5").toString();
				in_343 = obj.get("level_6") == null ? "" : obj.get("level_6").toString();
			}
		}
		
		
	}
	
	
	if(request.getAttribute("m_case") != null) {
		Casemast m_case = (Casemast) request.getAttribute("m_case");
		
		if(in_22.equals("")){
			in_22 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_23.equals("")){
			in_23 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_24.equals("")){
			in_24 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_25.equals("")){
			in_25 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_26.equals("")){
			in_26 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_27.equals("")){
			in_27 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_28.equals("")){
			in_28 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_29.equals("")){
			in_29 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_295.equals("")){
			in_295 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_296.equals("")){
			in_296 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_297.equals("")){
			in_297 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_298.equals("")){
			in_298 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_299.equals("")){
			in_299 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_300.equals("")){
			in_300 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_435.equals("")){
			in_435 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_436.equals("")){
			in_436 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_437.equals("")){
			in_437 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_438.equals("")){
			in_438 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_439.equals("")){
			in_439 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_440.equals("")){
			in_440 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_441.equals("")){
			in_441 = m_case.getMerchant().getMCCCode();
		}
		
		if(in_442.equals("")){
			in_442 = m_case.getMerchant().getMCCCode();
		}
	}
	
	
	Casemast c = null;
	if(request.getAttribute("m_case") != null) {
		c = (Casemast) request.getAttribute("m_case");
	}
	
	
			
	String op_330 = op_e33.replace("value=\"" + in_499 + "\"", "value=\"" + in_499 + "\" selected ");	
	String op_331 = op_e33.replace("value=\"" + in_500 + "\"", "value=\"" + in_500 + "\" selected ");	
	String op_332 = op_e33.replace("value=\"" + in_501 + "\"", "value=\"" + in_501 + "\" selected ");	
	String op_333 = op_e33.replace("value=\"" + in_502 + "\"", "value=\"" + in_502 + "\" selected ");	
	String op_334 = op_e33.replace("value=\"" + in_503 + "\"", "value=\"" + in_503 + "\" selected ");	
	String op_335 = op_e33.replace("value=\"" + in_504 + "\"", "value=\"" + in_504 + "\" selected ");	
	String op_336 = op_e33.replace("value=\"" + in_505 + "\"", "value=\"" + in_505 + "\" selected ");	
	String op_337 = op_e33.replace("value=\"" + in_506 + "\"", "value=\"" + in_506 + "\" selected ");
	
	String op_338 = op_e33.replace("value=\"" + in_515 + "\"", "value=\"" + in_515 + "\" selected ");
	String op_339 = op_e33.replace("value=\"" + in_516 + "\"", "value=\"" + in_516 + "\" selected ");
	String op_340 = op_e33.replace("value=\"" + in_517 + "\"", "value=\"" + in_517 + "\" selected ");
	String op_341 = op_e33.replace("value=\"" + in_518 + "\"", "value=\"" + in_518 + "\" selected ");
	String op_342 = op_e33.replace("value=\"" + in_519 + "\"", "value=\"" + in_519 + "\" selected ");
	String op_343 = op_e33.replace("value=\"" + in_520 + "\"", "value=\"" + in_520 + "\" selected ");
	String op_344 = op_e33.replace("value=\"" + in_521 + "\"", "value=\"" + in_521 + "\" selected ");
	String op_345 = op_e33.replace("value=\"" + in_522 + "\"", "value=\"" + in_522 + "\" selected ");
	
	String op_346 = op_e33.replace("value=\"" + in_529 + "\"", "value=\"" + in_529 + "\" selected ");
	String op_347 = op_e33.replace("value=\"" + in_530 + "\"", "value=\"" + in_530 + "\" selected ");
	String op_348 = op_e33.replace("value=\"" + in_531 + "\"", "value=\"" + in_531 + "\" selected ");
	String op_349 = op_e33.replace("value=\"" + in_532 + "\"", "value=\"" + in_532 + "\" selected ");
	String op_350 = op_e33.replace("value=\"" + in_533 + "\"", "value=\"" + in_533 + "\" selected ");
	String op_351 = op_e33.replace("value=\"" + in_534 + "\"", "value=\"" + in_534 + "\" selected ");
	
	String op_352 = op_e33.replace("value=\"" + in_541 + "\"", "value=\"" + in_541 + "\" selected ");
	String op_353 = op_e33.replace("value=\"" + in_542 + "\"", "value=\"" + in_542 + "\" selected ");
	String op_354 = op_e33.replace("value=\"" + in_543 + "\"", "value=\"" + in_543 + "\" selected ");
	String op_355 = op_e33.replace("value=\"" + in_544 + "\"", "value=\"" + in_544 + "\" selected ");
	String op_356 = op_e33.replace("value=\"" + in_545 + "\"", "value=\"" + in_545 + "\" selected ");
	String op_357 = op_e33.replace("value=\"" + in_546 + "\"", "value=\"" + in_546 + "\" selected ");
	
	String op_358 = op_e33.replace("value=\"" + in_555 + "\"", "value=\"" + in_555 + "\" selected ");
	String op_359 = op_e33.replace("value=\"" + in_556 + "\"", "value=\"" + in_556 + "\" selected ");
	String op_360 = op_e33.replace("value=\"" + in_557 + "\"", "value=\"" + in_557 + "\" selected ");
	String op_361 = op_e33.replace("value=\"" + in_558 + "\"", "value=\"" + in_558 + "\" selected ");
	String op_362 = op_e33.replace("value=\"" + in_559 + "\"", "value=\"" + in_559 + "\" selected ");
	String op_363 = op_e33.replace("value=\"" + in_560 + "\"", "value=\"" + in_560 + "\" selected ");
	String op_364 = op_e33.replace("value=\"" + in_561 + "\"", "value=\"" + in_561 + "\" selected ");
	String op_365 = op_e33.replace("value=\"" + in_562 + "\"", "value=\"" + in_562 + "\" selected "); 
	
	String op_e3 = "<option value=\"221\" data-min=\"198\" data-max=\"1000\">221 (198/1,000)</option>" 
			+ "<option value=\"216\" data-min=\"200\" data-max=\"1000\">216 (200/1,000)</option>" 
			+ "<option value=\"273\" data-min=\"200\" data-max=\"5000\">273 (200/5,000)</option>" 
			+ "<option value=\"247\" data-min=\"200\" data-max=\"10000\">247 (200/10,000)</option>" 
			+ "<option value=\"179\" data-min=\"250\" data-max=\"5000\">179 (250/5,000)</option>" 
			+ "<option value=\"230\" data-min=\"250\" data-max=\"10000\">230 (250/10,000)</option>" 
			+ "<option value=\"057\" data-min=\"300\" data-max=\"500\">057 (300/500)</option>" 
			+ "<option value=\"107\" data-min=\"300\" data-max=\"5000\">107 (300/5,000)</option>" 
			+ "<option value=\"274\" data-min=\"300\" data-max=\"10000\">274 (300/10,000)</option>" 
			+ "<option value=\"266\" data-min=\"500\" data-max=\"5000\">266 (500/5,000)</option>" 
			+ "<option value=\"220\" data-min=\"500\" data-max=\"10000\">220 (500/10,000)</option>" 
			+ "<option value=\"285\" data-min=\"500\" data-max=\"30000\">285 (500/30,000)</option>" 
			+ "<option value=\"002\" data-min=\"500\" data-max=\"100000\">002 (500/100,000)</option>" 
			+ "<option value=\"252\" data-min=\"1000\" data-max=\"10000\">252 (1,000/10,000)</option>" 
			+ "<option value=\"267\" data-min=\"1000\" data-max=\"20000\">267 (1,000/20,000)</option>" 
			+ "<option value=\"100\" data-min=\"5000\" data-max=\"50000\">100 (5,000/50,000)</option>";
	
	if(c != null && c.getCountryCode().equals("PH")){
		op_e3 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
	}
	
	String op_222 = op_e3.replace("value=\"" + in_222 + "\"", "value=\"" + in_222 + "\" selected ");	
	String op_443 = op_e3.replace("value=\"" + in_443 + "\"", "value=\"" + in_443 + "\" selected ");	
	
	String op_e6 = "<option value=\"352\" data-min=\"250\" data-max=\"20000\">352 (250/20,000)</option>" 
			+ "<option value=\"336\" data-min=\"300\" data-max=\"1000\">336 (300/1,000)</option>" 
			+ "<option value=\"098\" data-min=\"300\" data-max=\"5000\">098 (300/5,000)</option>" 
			+ "<option value=\"208\" data-min=\"300\" data-max=\"10000\">208 (300/10,000)</option>" 
			+ "<option value=\"126\" data-min=\"350\" data-max=\"5000\">126 (350/5,000)</option>" 
			+ "<option value=\"265\" data-min=\"400\" data-max=\"5000\">265 (400/5,000)</option>" 
			+ "<option value=\"133\" data-min=\"400\" data-max=\"10000\">133 (400/10,000)</option>" 
			+ "<option value=\"120\" data-min=\"400\" data-max=\"15000\">120 (400/15,000)</option>" 
			+ "<option value=\"121\" data-min=\"400\" data-max=\"20000\">121 (400/20,000)</option>" 
			+ "<option value=\"046\" data-min=\"450\" data-max=\"5000\">046 (450/5,000)</option>" 
			+ "<option value=\"017\" data-min=\"498\" data-max=\"10000\">017 (498/10,000)</option>" 
			+ "<option value=\"114\" data-min=\"500\" data-max=\"3000\">114 (500/3,000)</option>" 
			+ "<option value=\"026\" data-min=\"500\" data-max=\"5000\">026 (500/5,000)</option>" 
			+ "<option value=\"135\" data-min=\"500\" data-max=\"6000\">135 (500/6,000)</option>" 
			+ "<option value=\"093\" data-min=\"500\" data-max=\"8000\">093 (500/8,000)</option>" 
			+ "<option value=\"028\" data-min=\"500\" data-max=\"10000\">028 (500/10,000)</option>" 
			+ "<option value=\"055\" data-min=\"500\" data-max=\"15000\">055 (500/15,000)</option>" 
			+ "<option value=\"123\" data-min=\"500\" data-max=\"18000\">123 (500/18,000)</option>" 
			+ "<option value=\"063\" data-min=\"500\" data-max=\"20000\">063 (500/20,000)</option>" 
			+ "<option value=\"090\" data-min=\"500\" data-max=\"25000\">090 (500/25,000)</option>" 
			+ "<option value=\"073\" data-min=\"500\" data-max=\"30000\">073 (500/30,000)</option>" 
			+ "<option value=\"209\" data-min=\"500\" data-max=\"40000\">209 (500/40,000)</option>" 
			+ "<option value=\"150\" data-min=\"500\" data-max=\"50000\">150 (500/50,000)</option>" 
			+ "<option value=\"242\" data-min=\"500\" data-max=\"70000\">242 (500/70,000)</option>" 
			+ "<option value=\"003\" data-min=\"500\" data-max=\"100000\">003 (500/100,000)</option>" 
			+ "<option value=\"342\" data-min=\"500\" data-max=\"150000\">342 (500/150,000)</option>" 
			+ "<option value=\"365\" data-min=\"500\" data-max=\"350000\">365 (500/350,000)</option>" 
			+ "<option value=\"300\" data-min=\"500\" data-max=\"500000\">300 (500/500,000)</option>" 
			+ "<option value=\"105\" data-min=\"600\" data-max=\"10000\">105 (600/10,000)</option>" 
			+ "<option value=\"058\" data-min=\"750\" data-max=\"5000\">058 (750/5,000)</option>" 
			+ "<option value=\"042\" data-min=\"800\" data-max=\"5000\">042 (800/5,000)</option>" 
			+ "<option value=\"088\" data-min=\"800\" data-max=\"10000\">088 (800/10,000)</option>" 
			+ "<option value=\"018\" data-min=\"1000\" data-max=\"5000\">018 (1,000/5,000)</option>" 
			+ "<option value=\"011\" data-min=\"1000\" data-max=\"10000\">011 (1,000/10,000)</option>" 
			+ "<option value=\"022\" data-min=\"1000\" data-max=\"15000\">022 (1,000/15,000)</option>" 
			+ "<option value=\"020\" data-min=\"1000\" data-max=\"20000\">020 (1,000/20,000)</option>" 
			+ "<option value=\"324\" data-min=\"1000\" data-max=\"25000\">324 (1,000/25,000)</option>" 
			+ "<option value=\"035\" data-min=\"1000\" data-max=\"30000\">035 (1,000/30,000)</option>" 
			+ "<option value=\"249\" data-min=\"1000\" data-max=\"40000\">249 (1,000/40,000)</option>" 
			+ "<option value=\"038\" data-min=\"1000\" data-max=\"50000\">038 (1,000/50,000)</option>" 
			+ "<option value=\"233\" data-min=\"1000\" data-max=\"100000\">233 (1,000/100,000)</option>" 
			+ "<option value=\"325\" data-min=\"1000\" data-max=\"250000\">325 (1,000/250,000)</option>" 
			+ "<option value=\"357\" data-min=\"1000\" data-max=\"300000\">357 (1,000/300,000)</option>" 
			+ "<option value=\"371\" data-min=\"1000\" data-max=\"500000\">371 (1,000/500,000)</option>" 
			+ "<option value=\"347\" data-min=\"1500\" data-max=\"10000\">347 (1,500/10,000)</option>" 
			+ "<option value=\"173\" data-min=\"1500\" data-max=\"20000\">173 (1,500/20,000)</option>" 
			+ "<option value=\"024\" data-min=\"2000\" data-max=\"10000\">024 (2,000/10,000)</option>" 
			+ "<option value=\"180\" data-min=\"2500\" data-max=\"15000\">180 (2,500/15,000)</option>" 
			+ "<option value=\"349\" data-min=\"3000\" data-max=\"10000\">349 (3,000/10,000)</option>" 
			+ "<option value=\"172\" data-min=\"3000\" data-max=\"15000\">172 (3,000/15,000)</option>" 
			+ "<option value=\"158\" data-min=\"3000\" data-max=\"20000\">158 (3,000/20,000)</option>" 
			+ "<option value=\"051\" data-min=\"4000\" data-max=\"10000\">051 (4,000/10,000)</option>" 
			+ "<option value=\"162\" data-min=\"4000\" data-max=\"20000\">162 (4,000/20,000)</option>" 
			+ "<option value=\"101\" data-min=\"5000\" data-max=\"50000\">101 (5,000/50,000)</option>" 
			+ "<option value=\"337\" data-min=\"10000\" data-max=\"30000\">337 (10,000/30,000)</option>" 
			+ "<option value=\"354\" data-min=\"10000\" data-max=\"100000\">354 (10,000/100,000)</option>" 
			+ "<option value=\"297\" data-min=\"10000\" data-max=\"400000\">297 (10,000/400,000)</option>";
		
		if(c != null && c.getCountryCode().equals("PH")){
			op_e6 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
			
		String op_223 = op_e6.replace("value=\"" + in_223 + "\"", "value=\"" + in_223 + "\" selected ");	
		String op_444 = op_e6.replace("value=\"" + in_444 + "\"", "value=\"" + in_444 + "\" selected ");	
		
		String op_e9 = "<option value=\"072\" data-min=\"500\" data-max=\"20000\">072 (500/20,000)</option>" 
				+ "<option value=\"260\" data-min=\"500\" data-max=\"30000\">260 (500/30,000)</option>" 
				+ "<option value=\"356\" data-min=\"500\" data-max=\"10000\">356 (500/10,000)</option>" 
				+ "<option value=\"385\" data-min=\"500\" data-max=\"100000\">385 (500/100,000)</option>" 
				+ "<option value=\"004\" data-min=\"1000\" data-max=\"10000\">004 (1,000/10,000)</option>" 
				+ "<option value=\"102\" data-min=\"1000\" data-max=\"20000\">102 (1,000/20,000)</option>" 
				+ "<option value=\"153\" data-min=\"1000\" data-max=\"50000\">153 (1,000/50,000)</option>" 
				+ "<option value=\"143\" data-min=\"5000\" data-max=\"50000\">143 (5,000/50,000)</option>";
		
		if(c != null && c.getCountryCode().equals("PH")){
			op_e9 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
		
		String op_224 = op_e9.replace("value=\"" + in_224 + "\"", "value=\"" + in_224 + "\" selected ");	
		String op_445 = op_e9.replace("value=\"" + in_445 + "\"", "value=\"" + in_445 + "\" selected ");	
		
		String op_e12 = "<option value=\"344\" data-min=\"300\" data-max=\"10000\">344 (300/10,000)</option>" 
				+ "<option value=\"203\" data-min=\"350\" data-max=\"10000\">203 (350/10,000)</option>" 
				+ "<option value=\"079\" data-min=\"400\" data-max=\"10000\">079 (400/10,000)</option>" 
				+ "<option value=\"246\" data-min=\"400\" data-max=\"20000\">246 (400/20,000)</option>" 
				+ "<option value=\"151\" data-min=\"500\" data-max=\"2500\">151 (500/2,500)</option>" 
				+ "<option value=\"027\" data-min=\"500\" data-max=\"5000\">027 (500/5,000)</option>" 
				+ "<option value=\"270\" data-min=\"500\" data-max=\"6000\">270 (500/6,000)</option>" 
				+ "<option value=\"029\" data-min=\"500\" data-max=\"10000\">029 (500/10,000)</option>" 
				+ "<option value=\"097\" data-min=\"500\" data-max=\"15000\">097 (500/15,000)</option>" 
				+ "<option value=\"068\" data-min=\"500\" data-max=\"20000\">068 (500/20,000)</option>" 
				+ "<option value=\"111\" data-min=\"500\" data-max=\"20000\">111 (500/20,000)</option>" 
				+ "<option value=\"348\" data-min=\"500\" data-max=\"25000\">348 (500/25,000)</option>" 
				+ "<option value=\"099\" data-min=\"500\" data-max=\"30000\">099 (500/30,000)</option>" 
				+ "<option value=\"213\" data-min=\"500\" data-max=\"50000\">213 (500/50,000)</option>" 
				+ "<option value=\"005\" data-min=\"500\" data-max=\"100000\">005 (500/100,000)</option>" 
				+ "<option value=\"125\" data-min=\"600\" data-max=\"10000\">125 (600/10,000)</option>" 
				+ "<option value=\"235\" data-min=\"700\" data-max=\"10000\">235 (700/10,000)</option>" 
				+ "<option value=\"189\" data-min=\"700\" data-max=\"20000\">189 (700/20,000)</option>" 
				+ "<option value=\"047\" data-min=\"750\" data-max=\"5000\">047 (750/5,000)</option>" 
				+ "<option value=\"041\" data-min=\"750\" data-max=\"10000\">041 (750/10,000)</option>" 
				+ "<option value=\"225\" data-min=\"750\" data-max=\"20000\">225 (750/20,000)</option>" 
				+ "<option value=\"015\" data-min=\"750\" data-max=\"100000\">015 (750/100,000)</option>" 
				+ "<option value=\"043\" data-min=\"800\" data-max=\"5000\">043 (800/5,000)</option>" 
				+ "<option value=\"089\" data-min=\"800\" data-max=\"10000\">089 (800/10,000)</option>" 
				+ "<option value=\"185\" data-min=\"800\" data-max=\"20000\">185 (800/20,000)</option>" 
				+ "<option value=\"222\" data-min=\"998\" data-max=\"10000\">222 (998/10,000)</option>" 
				+ "<option value=\"115\" data-min=\"1000\" data-max=\"3000\">115 (1,000/3,000)</option>" 
				+ "<option value=\"019\" data-min=\"1000\" data-max=\"5000\">019 (1,000/5,000)</option>" 
				+ "<option value=\"136\" data-min=\"1000\" data-max=\"6000\">136 (1,000/6,000)</option>" 
				+ "<option value=\"184\" data-min=\"1000\" data-max=\"8000\">184 (1,000/8,000)</option>" 
				+ "<option value=\"012\" data-min=\"1000\" data-max=\"10000\">012 (1,000/10,000)</option>" 
				+ "<option value=\"023\" data-min=\"1000\" data-max=\"15000\">023 (1,000/15,000)</option>" 
				+ "<option value=\"124\" data-min=\"1000\" data-max=\"18000\">124 (1,000/18,000)</option>" 
				+ "<option value=\"021\" data-min=\"1000\" data-max=\"20000\">021 (1,000/20,000)</option>" 
				+ "<option value=\"091\" data-min=\"1000\" data-max=\"25000\">091 (1,000/25,000)</option>" 
				+ "<option value=\"036\" data-min=\"1000\" data-max=\"30000\">036 (1,000/30,000)</option>" 
				+ "<option value=\"210\" data-min=\"1000\" data-max=\"40000\">210 (1,000/40,000)</option>" 
				+ "<option value=\"039\" data-min=\"1000\" data-max=\"50000\">039 (1,000/50,000)</option>" 
				+ "<option value=\"328\" data-min=\"1000\" data-max=\"60000\">328 (1,000/60,000)</option>" 
				+ "<option value=\"243\" data-min=\"1000\" data-max=\"70000\">243 (1,000/70,000)</option>" 
				+ "<option value=\"277\" data-min=\"1000\" data-max=\"80000\">277 (1,000/80,000)</option>" 
				+ "<option value=\"204\" data-min=\"1000\" data-max=\"100000\">204 (1,000/100,000)</option>" 
				+ "<option value=\"343\" data-min=\"1000\" data-max=\"150000\">343 (1,000/150,000)</option>" 
				+ "<option value=\"205\" data-min=\"1000\" data-max=\"200000\">205 (1,000/200,000)</option>" 
				+ "<option value=\"290\" data-min=\"1000\" data-max=\"250000\">290 (1,000/250,000)</option>" 
				+ "<option value=\"358\" data-min=\"1000\" data-max=\"300000\">358 (1,000/300,000)</option>" 
				+ "<option value=\"366\" data-min=\"1000\" data-max=\"350000\">366 (1,000/350,000)</option>" 
				+ "<option value=\"301\" data-min=\"1000\" data-max=\"500000\">301 (1,000/500,000)</option>" 
				+ "<option value=\"094\" data-min=\"1500\" data-max=\"8000\">094 (1,500/8,000)</option>" 
				+ "<option value=\"110\" data-min=\"1500\" data-max=\"10000\">110 (1,500/10,000)</option>" 
				+ "<option value=\"161\" data-min=\"1500\" data-max=\"20000\">161 (1,500/20,000)</option>" 
				+ "<option value=\"169\" data-min=\"1500\" data-max=\"30000\">169 (1,500/30,000)</option>" 
				+ "<option value=\"351\" data-min=\"1500\" data-max=\"50000\">351 (1,500/50,000)</option>" 
				+ "<option value=\"025\" data-min=\"2000\" data-max=\"10000\">025 (2,000/10,000)</option>" 
				+ "<option value=\"176\" data-min=\"2000\" data-max=\"20000\">176 (2,000/20,000)</option>" 
				+ "<option value=\"214\" data-min=\"2000\" data-max=\"30000\">214 (2,000/30,000)</option>" 
				+ "<option value=\"181\" data-min=\"2500\" data-max=\"15000\">181 (2,500/15,000)</option>" 
				+ "<option value=\"194\" data-min=\"3000\" data-max=\"15000\">194 (3,000/15,000)</option>" 
				+ "<option value=\"103\" data-min=\"3000\" data-max=\"20000\">103 (3,000/20,000)</option>" 
				+ "<option value=\"071\" data-min=\"3000\" data-max=\"30000\">071 (3,000/30,000)</option>" 
				+ "<option value=\"171\" data-min=\"3000\" data-max=\"50000\">171 (3,000/50,000)</option>" 
				+ "<option value=\"052\" data-min=\"4000\" data-max=\"10000\">052 (4,000/10,000)</option>" 
				+ "<option value=\"163\" data-min=\"4000\" data-max=\"20000\">163 (4,000/20,000)</option>" 
				+ "<option value=\"350\" data-min=\"6000\" data-max=\"10000\">350 (6,000/10,000)</option>" 
				+ "<option value=\"200\" data-min=\"10000\" data-max=\"30000\">200 (10,000/30,000)</option>" 
				+ "<option value=\"334\" data-min=\"10000\" data-max=\"100000\">334 (10,000/100,000)</option>" 
				+ "<option value=\"298\" data-min=\"10000\" data-max=\"400000\">298 (10,000/400,000)</option>";
	
		if(c != null && c.getCountryCode().equals("PH")){
			op_e12 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
		
		String op_225 = op_e12.replace("value=\"" + in_225 + "\"", "value=\"" + in_225 + "\" selected ");	
		String op_446 = op_e12.replace("value=\"" + in_446 + "\"", "value=\"" + in_446 + "\" selected ");	
		
		String op_e18 = "<option value=\"268\" data-min=\"500\" data-max=\"5000\">268 (500/5,000)</option>"
				+ "<option value=\"147\" data-min=\"500\" data-max=\"10000\">147 (500/10,000)</option>"
				+ "<option value=\"155\" data-min=\"500\" data-max=\"15000\">155 (500/15,000)</option>"
				+ "<option value=\"112\" data-min=\"500\" data-max=\"20000\">112 (500/20,000)</option>"
				+ "<option value=\"374\" data-min=\"500\" data-max=\"100000\">374 (500/100,000)</option>"
				+ "<option value=\"293\" data-min=\"500\" data-max=\"30000\">293 (500/30,000)</option>"
				+ "<option value=\"353\" data-min=\"800\" data-max=\"20000\">353 (800/20,000)</option>"
				+ "<option value=\"269\" data-min=\"1000\" data-max=\"5000\">269 (1,000/5,000)</option>"
				+ "<option value=\"271\" data-min=\"1000\" data-max=\"8000\">271 (1,000/8,000)</option>"
				+ "<option value=\"037\" data-min=\"1000\" data-max=\"10000\">037 (1,000/10,000)</option>"
				+ "<option value=\"174\" data-min=\"1000\" data-max=\"15000\">174 (1,000/15,000)</option>"
				+ "<option value=\"034\" data-min=\"1000\" data-max=\"20000\">034 (1,000/20,000)</option>"
				+ "<option value=\"080\" data-min=\"1000\" data-max=\"30000\">080 (1,000/30,000)</option>"
				+ "<option value=\"236\" data-min=\"1000\" data-max=\"50000\">236 (1,000/50,000)</option>"
				+ "<option value=\"007\" data-min=\"1000\" data-max=\"100000\">007 (1,000/100,000)</option>"
				+ "<option value=\"264\" data-min=\"1500\" data-max=\"5000\">264 (1,500/5,000)</option>"
				+ "<option value=\"044\" data-min=\"1500\" data-max=\"10000\">044 (1,500/10,000)</option>"
				+ "<option value=\"086\" data-min=\"1500\" data-max=\"15000\">086 (1,500/15,000)</option>"
				+ "<option value=\"075\" data-min=\"1500\" data-max=\"18000\">075 (1,500/18,000)</option>"
				+ "<option value=\"065\" data-min=\"1500\" data-max=\"20000\">065 (1,500/20,000)</option>"
				+ "<option value=\"207\" data-min=\"1500\" data-max=\"25000\">207 (1,500/25,000)</option>"
				+ "<option value=\"109\" data-min=\"1500\" data-max=\"30000\">109 (1,500/30,000)</option>"
				+ "<option value=\"241\" data-min=\"1500\" data-max=\"40000\">241 (1,500/40,000)</option>"
				+ "<option value=\"227\" data-min=\"1500\" data-max=\"50000\">227 (1,500/50,000)</option>"
				+ "<option value=\"244\" data-min=\"1500\" data-max=\"70000\">244 (1,500/70,000)</option>"
				+ "<option value=\"318\" data-min=\"1500\" data-max=\"100000\">318 (1,500/100,000)</option>"
				+ "<option value=\"056\" data-min=\"2000\" data-max=\"10000\">056 (2,000/10,000)</option>"
				+ "<option value=\"064\" data-min=\"2000\" data-max=\"20000\">064 (2,000/20,000)</option>"
				+ "<option value=\"165\" data-min=\"2000\" data-max=\"30000\">165 (2,000/30,000)</option>"
				+ "<option value=\"081\" data-min=\"2000\" data-max=\"50000\">081 (2,000/50,000)</option>"
				+ "<option value=\"329\" data-min=\"2000\" data-max=\"60000\">329 (2,000/60,000)</option>"
				+ "<option value=\"313\" data-min=\"2000\" data-max=\"100000\">313 (2,000/100,000)</option>"
				+ "<option value=\"367\" data-min=\"2000\" data-max=\"350000\">367 (2,000/350,000)</option>"
				+ "<option value=\"231\" data-min=\"2500\" data-max=\"10000\">231 (2,500/10,000)</option>"
				+ "<option value=\"166\" data-min=\"2500\" data-max=\"15000\">166 (2,500/15,000)</option>"
				+ "<option value=\"045\" data-min=\"2500\" data-max=\"20000\">045 (2,500/20,000)</option>"
				+ "<option value=\"198\" data-min=\"2500\" data-max=\"25000\">198 (2,500/25,000)</option>"
				+ "<option value=\"248\" data-min=\"3000\" data-max=\"10000\">248 (3,000/10,000)</option>"
				+ "<option value=\"177\" data-min=\"3000\" data-max=\"20000\">177 (3,000/20,000)</option>"
				+ "<option value=\"276\" data-min=\"3000\" data-max=\"30000\">276 (3,000/30,000)</option>"
				+ "<option value=\"049\" data-min=\"4000\" data-max=\"30000\">049 (4,000/30,000)</option>"
				+ "<option value=\"066\" data-min=\"5000\" data-max=\"20000\">066 (5,000/20,000)</option>"
				+ "<option value=\"289\" data-min=\"5000\" data-max=\"30000\">289 (5,000/30,000)</option>"
				+ "<option value=\"331\" data-min=\"5000\" data-max=\"50000\">331 (5,000/50,000)</option>"
				+ "<option value=\"355\" data-min=\"10000\" data-max=\"100000\">355 (10,000/100,000)</option>";

		if(c != null && c.getCountryCode().equals("PH")){
			op_e18 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
		
		String op_226 = op_e18.replace("value=\"" + in_226 + "\"", "value=\"" + in_226 + "\" selected ");	
		String op_447 = op_e18.replace("value=\"" + in_447 + "\"", "value=\"" + in_447 + "\" selected ");	
		
		String op_e24 = "<option value=\"251\" data-min=\"400\" data-max=\"20000\">251 (400/20,000)</option>"
				+ "<option value=\"263\" data-min=\"499\" data-max=\"15000\">263 (499/15,000)</option>"
				+ "<option value=\"148\" data-min=\"500\" data-max=\"10000\">148 (500/10,000)</option>"
				+ "<option value=\"193\" data-min=\"500\" data-max=\"15000\">193 (500/15,000)</option>"
				+ "<option value=\"113\" data-min=\"500\" data-max=\"20000\">113 (500/20,000)</option>"
				+ "<option value=\"375\" data-min=\"500\" data-max=\"100000\">375 (500/100,000)</option>"
				+ "<option value=\"139\" data-min=\"850\" data-max=\"10000\">139 (850/10,000)</option>"
				+ "<option value=\"087\" data-min=\"900\" data-max=\"10000\">087 (900/10,000)</option>"
				+ "<option value=\"010\" data-min=\"999\" data-max=\"10000\">010 (999/10,000)</option>"
				+ "<option value=\"156\" data-min=\"1000\" data-max=\"5000\">156 (1,000/5,000)</option>"
				+ "<option value=\"040\" data-min=\"1000\" data-max=\"10000\">040 (1,000/10,000)</option>"
				+ "<option value=\"141\" data-min=\"1000\" data-max=\"15000\">141 (1,000/15,000)</option>"
				+ "<option value=\"074\" data-min=\"1000\" data-max=\"20000\">074 (1,000/20,000)</option>"
				+ "<option value=\"106\" data-min=\"1000\" data-max=\"30000\">106 (1,000/30,000)</option>"
				+ "<option value=\"381\" data-min=\"1000\" data-max=\"40000\">381 (1,000/40,000)</option>"
				+ "<option value=\"145\" data-min=\"1000\" data-max=\"50000\">145 (1,000/50,000)</option>"
				+ "<option value=\"294\" data-min=\"1000\" data-max=\"100000\">294 (1,000/100,000)</option>"
				+ "<option value=\"379\" data-min=\"1000\" data-max=\"150000\">379 (1,000/150,000)</option>"
				+ "<option value=\"341\" data-min=\"1000\" data-max=\"200000\">341 (1,000/200,000)</option>"
				+ "<option value=\"291\" data-min=\"1000\" data-max=\"250000\">291 (1,000/250,000)</option>"
				+ "<option value=\"359\" data-min=\"1000\" data-max=\"300000\">359 (1,000/300,000)</option>"
				+ "<option value=\"368\" data-min=\"1000\" data-max=\"500000\">368 (1,000/500,000)</option>"
				+ "<option value=\"060\" data-min=\"1200\" data-max=\"10000\">060 (1,200/10,000)</option>"
				+ "<option value=\"142\" data-min=\"1200\" data-max=\"20000\">142 (1,200/20,000)</option>"
				+ "<option value=\"008\" data-min=\"1200\" data-max=\"100000\">008 (1,200/100,000)</option>"
				+ "<option value=\"323\" data-min=\"1500\" data-max=\"5000\">323 (1,500/5,000)</option>"
				+ "<option value=\"127\" data-min=\"1500\" data-max=\"10000\">127 (1,500/10,000)</option>"
				+ "<option value=\"117\" data-min=\"1500\" data-max=\"15000\">117 (1,500/15,000)</option>"
				+ "<option value=\"096\" data-min=\"1500\" data-max=\"20000\">096 (1,500/20,000)</option>"
				+ "<option value=\"138\" data-min=\"1500\" data-max=\"25000\">138 (1,500/25,000)</option>"
				+ "<option value=\"192\" data-min=\"1500\" data-max=\"30000\">192 (1,500/30,000)</option>"
				+ "<option value=\"144\" data-min=\"1500\" data-max=\"50000\">144 (1,500/50,000)</option>"
				+ "<option value=\"261\" data-min=\"1500\" data-max=\"70000\">261 (1,500/70,000)</option>"
				+ "<option value=\"116\" data-min=\"1980\" data-max=\"20000\">116 (1,980/20,000)</option>"
				+ "<option value=\"322\" data-min=\"2000\" data-max=\"5000\">322 (2,000/5,000)</option>"
				+ "<option value=\"030\" data-min=\"2000\" data-max=\"10000\">030 (2,000/10,000)</option>"
				+ "<option value=\"070\" data-min=\"2000\" data-max=\"15000\">070 (2,000/15,000)</option>"
				+ "<option value=\"053\" data-min=\"2000\" data-max=\"20000\">053 (2,000/20,000)</option>"
				+ "<option value=\"083\" data-min=\"2000\" data-max=\"25000\">083 (2,000/25,000)</option>"
				+ "<option value=\"059\" data-min=\"2000\" data-max=\"30000\">059 (2,000/30,000)</option>"
				+ "<option value=\"211\" data-min=\"2000\" data-max=\"40000\">211 (2,000/40,000)</option>"
				+ "<option value=\"082\" data-min=\"2000\" data-max=\"50000\">082 (2,000/50,000)</option>"
				+ "<option value=\"330\" data-min=\"2000\" data-max=\"60000\">330 (2,000/60,000)</option>"
				+ "<option value=\"245\" data-min=\"2000\" data-max=\"70000\">245 (2,000/70,000)</option>"
				+ "<option value=\"319\" data-min=\"2000\" data-max=\"100000\">319 (2,000/100,000)</option>"
				+ "<option value=\"232\" data-min=\"2500\" data-max=\"10000\">232 (2,500/10,000)</option>"
				+ "<option value=\"182\" data-min=\"2500\" data-max=\"15000\">182 (2,500/15,000)</option>"
				+ "<option value=\"175\" data-min=\"2500\" data-max=\"20000\">175 (2,500/20,000)</option>"
				+ "<option value=\"076\" data-min=\"2500\" data-max=\"27000\">076 (2,500/27,000)</option>"
				+ "<option value=\"170\" data-min=\"2500\" data-max=\"30000\">170 (2,500/30,000)</option>"
				+ "<option value=\"067\" data-min=\"2500\" data-max=\"35000\">067 (2,500/35,000)</option>"
				+ "<option value=\"234\" data-min=\"2500\" data-max=\"50000\">234 (2,500/50,000)</option>"
				+ "<option value=\"314\" data-min=\"2500\" data-max=\"100000\">314 (2,500/100,000)</option>"
				+ "<option value=\"013\" data-min=\"3000\" data-max=\"10000\">013 (3,000/10,000)</option>"
				+ "<option value=\"104\" data-min=\"3000\" data-max=\"15000\">104 (3,000/15,000)</option>"
				+ "<option value=\"195\" data-min=\"3000\" data-max=\"20000\">195 (3,000/20,000)</option>"
				+ "<option value=\"167\" data-min=\"3000\" data-max=\"25000\">167 (3,000/25,000)</option>"
				+ "<option value=\"215\" data-min=\"3000\" data-max=\"30000\">215 (3,000/30,000)</option>"
				+ "<option value=\"202\" data-min=\"3000\" data-max=\"50000\">202 (3,000/50,000)</option>"
				+ "<option value=\"199\" data-min=\"3500\" data-max=\"25000\">199 (3,500/25,000)</option>"
				+ "<option value=\"178\" data-min=\"4000\" data-max=\"20000\">178 (4,000/20,000)</option>"
				+ "<option value=\"050\" data-min=\"4000\" data-max=\"30000\">050 (4,000/30,000)</option>"
				+ "<option value=\"084\" data-min=\"5000\" data-max=\"25000\">084 (5,000/25,000)</option>"
				+ "<option value=\"069\" data-min=\"5000\" data-max=\"30000\">069 (5,000/30,000)</option>"
				+ "<option value=\"157\" data-min=\"5000\" data-max=\"50000\">157 (5,000/50,000)</option>"
				+ "<option value=\"332\" data-min=\"5000\" data-max=\"100000\">332 (5,000/100,000)</option>"
				+ "<option value=\"338\" data-min=\"5000\" data-max=\"150000\">338 (5,000/150,000)</option>"
				+ "<option value=\"201\" data-min=\"10000\" data-max=\"30000\">201 (10,000/30,000)</option>"
				+ "<option value=\"326\" data-min=\"10000\" data-max=\"100000\">326 (10,000/100,000)</option>";

		if(c != null && c.getCountryCode().equals("PH")){
			op_e24 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
		
		String op_227 = op_e24.replace("value=\"" + in_227 + "\"", "value=\"" + in_227 + "\" selected ");	
		String op_448 = op_e24.replace("value=\"" + in_448 + "\"", "value=\"" + in_448 + "\" selected ");	
		
		String op_e30 = "<option value=\"296\" data-min=\"1000\" data-max=\"10000\">296 (1,000/10,000)</option>"
				+ "<option value=\"016\" data-min=\"2000\" data-max=\"10000\">016 (2,000/10,000)</option>"
				+ "<option value=\"054\" data-min=\"2000\" data-max=\"20000\">054 (2,000/20,000)</option>"
				+ "<option value=\"346\" data-min=\"2000\" data-max=\"30000\">346 (2,000/30,000)</option>"
				+ "<option value=\"031\" data-min=\"2500\" data-max=\"10000\">031 (2,500/10,000)</option>"
				+ "<option value=\"154\" data-min=\"2500\" data-max=\"20000\">154 (2,500/20,000)</option>"
				+ "<option value=\"092\" data-min=\"2500\" data-max=\"50000\">092 (2,500/50,000)</option>"
				+ "<option value=\"014\" data-min=\"3000\" data-max=\"10000\">014 (3,000/10,000)</option>"
				+ "<option value=\"137\" data-min=\"3000\" data-max=\"20000\">137 (3,000/20,000)</option>"
				+ "<option value=\"130\" data-min=\"3000\" data-max=\"30000\">130 (3,000/30,000)</option>"
				+ "<option value=\"373\" data-min=\"3000\" data-max=\"50000\">373 (3,000/50,000)</option>";
				
		if(c != null && c.getCountryCode().equals("PH")){
			op_e30 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
				
		String op_228 = op_e30.replace("value=\"" + in_228 + "\"", "value=\"" + in_228 + "\" selected ");	
		String op_449 = op_e30.replace("value=\"" + in_449 + "\"", "value=\"" + in_449 + "\" selected ");	
		
		String op_e36 = "<option value=\"250\" data-min=\"500\" data-max=\"20000\">250 (500/20,000)</option>"
				+ "<option value=\"376\" data-min=\"500\" data-max=\"100000\">376 (500/100,000)</option>"
				+ "<option value=\"206\" data-min=\"1000\" data-max=\"10000\">206 (1,000/10,000)</option>"
				+ "<option value=\"188\" data-min=\"1000\" data-max=\"15000\">188 (1,000/15,000)</option>"
				+ "<option value=\"095\" data-min=\"1000\" data-max=\"20000\">095 (1,000/20,000)</option>"
				+ "<option value=\"186\" data-min=\"1000\" data-max=\"30000\">186 (1,000/30,000)</option>"
				+ "<option value=\"146\" data-min=\"1000\" data-max=\"50000\">146 (1,000/50,000)</option>"
				+ "<option value=\"295\" data-min=\"1000\" data-max=\"100000\">295 (1,000/100,000)</option>"
				+ "<option value=\"292\" data-min=\"1000\" data-max=\"250000\">292 (1,000/250,000)</option>"
				+ "<option value=\"360\" data-min=\"1000\" data-max=\"300000\">360 (1,000/300,000)</option>"
				+ "<option value=\"191\" data-min=\"1500\" data-max=\"10000\">191 (1,500/10,000)</option>"
				+ "<option value=\"152\" data-min=\"1500\" data-max=\"20000\">152 (1,500/20,000)</option>"
				+ "<option value=\"140\" data-min=\"2000\" data-max=\"10000\">140 (2,000/10,000)</option>"
				+ "<option value=\"159\" data-min=\"2000\" data-max=\"15000\">159 (2,000/15,000)</option>"
				+ "<option value=\"108\" data-min=\"2000\" data-max=\"20000\">108 (2,000/20,000)</option>"
				+ "<option value=\"223\" data-min=\"2000\" data-max=\"25000\">223 (2,000/25,000)</option>"
				+ "<option value=\"122\" data-min=\"2000\" data-max=\"30000\">122 (2,000/30,000)</option>"
				+ "<option value=\"228\" data-min=\"2000\" data-max=\"50000\">228 (2,000/50,000)</option>"
				+ "<option value=\"386\" data-min=\"2000\" data-max=\"100000\">386 (2,000/100,000)</option>" 
				+ "<option value=\"229\" data-min=\"2500\" data-max=\"10000\">229 (2,500/10,000)</option>"
				+ "<option value=\"183\" data-min=\"2500\" data-max=\"15000\">183 (2,500/15,000)</option>"
				+ "<option value=\"149\" data-min=\"2500\" data-max=\"20000\">149 (2,500/20,000)</option>"
				+ "<option value=\"272\" data-min=\"2500\" data-max=\"30000\">272 (2,500/30,000)</option>"
				+ "<option value=\"212\" data-min=\"2500\" data-max=\"40000\">212 (2,500/40,000)</option>"
				+ "<option value=\"237\" data-min=\"2500\" data-max=\"50000\">237 (2,500/50,000)</option>"
				+ "<option value=\"187\" data-min=\"3000\" data-max=\"10000\">187 (3,000/10,000)</option>"
				+ "<option value=\"160\" data-min=\"3000\" data-max=\"15000\">160 (3,000/15,000)</option>"
				+ "<option value=\"119\" data-min=\"3000\" data-max=\"20000\">119 (3,000/20,000)</option>"
				+ "<option value=\"134\" data-min=\"3000\" data-max=\"30000\">134 (3,000/30,000)</option>"
				+ "<option value=\"219\" data-min=\"3000\" data-max=\"50000\">219 (3,000/50,000)</option>"
				+ "<option value=\"320\" data-min=\"3000\" data-max=\"100000\">320 (3,000/100,000)</option>"
				+ "<option value=\"131\" data-min=\"4000\" data-max=\"30000\">131 (4,000/30,000)</option>"
				+ "<option value=\"118\" data-min=\"5000\" data-max=\"30000\">118 (5,000/30,000)</option>"
				+ "<option value=\"283\" data-min=\"5000\" data-max=\"35000\">283 (5,000/35,000)</option>"
				+ "<option value=\"077\" data-min=\"5000\" data-max=\"36000\">077 (5,000/36,000)</option>"
				+ "<option value=\"164\" data-min=\"5000\" data-max=\"50000\">164 (5,000/50,000)</option>"
				+ "<option value=\"333\" data-min=\"5000\" data-max=\"100000\">333 (5,000/100,000)</option>"
				+ "<option value=\"339\" data-min=\"5000\" data-max=\"150000\">339 (5,000/150,000)</option>"
				+ "<option value=\"327\" data-min=\"10000\" data-max=\"100000\">327 (10,000/100,000)</option>"
				+ "<option value=\"335\" data-min=\"10000\" data-max=\"200000\">335 (10,000/200,000)</option>";

		if(c != null && c.getCountryCode().equals("PH")){
			op_e36 = "<option value=\"002\" data-min=\"3000\" data-max=\"99999999\">002 (3,000/99,999,999)</option>";
		}
				
		String op_229 = op_e36.replace("value=\"" + in_229 + "\"", "value=\"" + in_229 + "\" selected ");
		String op_450 = op_e36.replace("value=\"" + in_450 + "\"", "value=\"" + in_450 + "\" selected ");	
		
		
		boolean outlet_newable = true;
		boolean outlet_deletable = true;
		
		TreeMap<String, String> viewAccess = (TreeMap<String, String>) request.getAttribute("view_access");
		if(viewAccess.get("view_as").equals("maker") == false && viewAccess.get("view_as").equals("admin") == false){
			outlet_newable = false;
			outlet_deletable = false;
		}
		 
		String maker_ctl = "";
		if(viewAccess.get("view_as").equals("maker") == false && viewAccess.get("view_as").equals("admin") == false){
			maker_ctl = "disabled=\"disabled\"";
		}
		
		
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="include/html-meta.jsp" />
<title>MAYBANK</title>
<script src="<%=request.getContextPath()%>/js/outlet.js"></script>
</head>

<body onload="outlet.mdr_load()">

<!-- Header -->
<%@ include file="/jsp/common/Header.jsp" %>	
<!-- End Header -->

<div class="row-fluid page">
	<div class="span12">

		<jsp:include page="include/tab.jsp">
			
			<jsp:param name="active" value='<%=EncryptionHelper.encrypt("application") %>' />
		</jsp:include>
		
		<jsp:include page="include/app-tab.jsp">
			
			<jsp:param name="active" value='<%=EncryptionHelper.encrypt("outlet_info") %>' />
		</jsp:include>
		
		<div class="row-fluid outlet-main-content">
			<div class="span2">
				<ul class="outletlist">
				<%
					String html = "";
					String css_class = "";
					
					for(CaseOutlet a : ((Casemast)request.getAttribute("m_case")).getOutlets()){
						Outlet o = a.getOutlet();
						
						css_class = "";
						
						if(request.getAttribute("c_outlet") != null) {
							if(o.getId() == ((CaseOutlet) request.getAttribute("c_outlet")).getOutlet().getId()){
								css_class = " class=\"active\"";
							}
						}
						
						html = "<li" + css_class + "><a href=\"javascript:tab.load('/NewApp.do?dispatch=mdr_form&o_id=" + EncryptionHelper.encryptEncodeURL(o.getId()+"") +  "', '')\">" + o.getName() + "</a></li>";
						
						out.println(html);
					}
					
					css_class = " class=\"addnew\"";
					if(request.getAttribute("c_outlet") == null) {
						css_class = " class=\"addnew active\"";
					}
					
					if(outlet_newable){
						html = "<li" + css_class + "><a href=\"javascript:tab.load('/NewApp.do?dispatch=outlet_create', '&?o_id=[0-9]+&?')\">New Outlet</a></li>";
						out.println(html);
					}
				%>
				</ul>
				
				<div>
					
					<%
						if(outlet_newable){
							html = "<a class=\"btn\" href=\"javascript:tab.load('/NewApp.do?dispatch=outlet_create', '&?o_id=[0-9]+&?')\">Add</a>";
							out.println(html);
						}
					
						if(outlet_deletable && request.getAttribute("c_outlet") != null){
							html = "<button type=\"button\" class=\"btn\" onclick=\"outlet.delete_submit('" + EncryptionHelper.encrypt(request.getAttribute("case_id")+"") + "', '" + EncryptionHelper.encrypt(request.getAttribute("merchant_id")+"") + "', '" + EncryptionHelper.encrypt(((CaseOutlet) request.getAttribute("c_outlet")).getOutlet().getId()+"") + "')\">Delete</button>";
							out.println(html);
						}
					%>
					
				</div>
			</div>
			
			<div class="span10" style="border-left:1px solid #eee">
				<jsp:include page="include/outlet-tab.jsp">
					<jsp:param name="active" value='<%=EncryptionHelper.encrypt("mdr_form") %>' />
				</jsp:include>

				<table class="tbl mdr_rate">
					<tr>
						<th colspan="9" style="background-color:#eee">OFFICE USE ONLY: MERCHANT PORTAL HIERARCHY</th>
					</tr>
					<tr>
						<th style="background-color:#D4FFFF; width:160px">CID No:</th>
						<td colspan="3"><input type="text" name="1" value="<%= in_1 %>" /></td>
						<th style="background-color:#D4FFFF">SID No:</th>
						<td colspan="2"><input type="text" name="2" value="<%= in_2 %>" /></td>
						<td colspan="2" rowspan="2"></td>
					</tr>
					<tr>
						<th style="background-color:#D4FFFF">VISA MASTER CHAIN STORE HQ MID</th>
						<td colspan="3"><input type="text" name="3" value="<%= in_3 %>" /></td>
						<th colspan="2" style="background-color:#D4FFFF">MERCHANT TYPE</th>
						<td><input type="text" name="4" value="<%= in_4 %>"  /></td>
					</tr>
					<tbody class="hover">
					<tr style="background-color:#eee">
						<th style="text-align:center">VISA MASTER</th>
						<th style="text-align:center">POS</th>
						<th style="text-align:center">DCC</th>
						<th style="text-align:center">MO</th>
						<th style="text-align:center">TO</th>
						<th style="text-align:center">RPS</th>
						<th style="text-align:center">E-Commerce</th>
						<th style="text-align:center">M2U</th>
						<th style="text-align:center">ORS</th>
					</tr>
					<tr>
						<td>Merchant Type</td>
						<td><input type="text" name="6" value="<%= in_6 %>" /></td>
						<td><input type="text" name="7" value="<%= in_7 %>" /></td>
						<td><input type="text" name="8" value="<%= in_8 %>" /></td>
						<td><input type="text" name="9" value="<%= in_9 %>" /></td>
						<td><input type="text" name="10" value="<%= in_10 %>" /></td>
						<td><input type="text" name="11" value="<%= in_11 %>" /></td>
						<td><input type="text" name="12" value="<%= in_12 %>" /></td>
						<td><input type="text" name="13" value="<%= in_13 %>" /></td>
					</tr>
					<tr>
						<td>MID No</td>
						<td><input type="text" name="14" value="<%= in_14 %>" /></td>
						<td><input type="text" name="15" value="<%= in_15 %>" /></td>
						<td><input type="text" name="16" value="<%= in_16 %>" /></td>
						<td><input type="text" name="17" value="<%= in_17 %>" /></td>
						<td><input type="text" name="18" value="<%= in_18 %>" /></td>
						<td><input type="text" name="19" value="<%= in_19 %>" /></td>
						<td><input type="text" name="20" value="<%= in_20 %>" /></td>
						<td><input type="text" name="21" value="<%= in_21 %>" /></td>
					</tr>
					<tr>
						<td>MCC Code</td>
						<td><input type="text" name="22" value="<%= in_22 %>" /></td>
						<td><input type="text" name="23" value="<%= in_23 %>" /></td>
						<td><input type="text" name="24" value="<%= in_24 %>" /></td>
						<td><input type="text" name="25" value="<%= in_25 %>" /></td>
						<td><input type="text" name="26" value="<%= in_26 %>" /></td>
						<td><input type="text" name="27" value="<%= in_27 %>" /></td>
						<td><input type="text" name="28" value="<%= in_28 %>" /></td>
						<td><input type="text" name="29" value="<%= in_29 %>" /></td>
					</tr>
					<tr>
						<td>Visa Maybank</td>
						<td><input type="text" name="30" <%= maker_ctl %> value="<%= in_30 %>" /></td>
						<td><input type="text" name="31" <%= maker_ctl %> value="<%= in_31 %>" /></td>
						<td><input type="text" name="32" <%= maker_ctl %> value="<%= in_32 %>" /></td>
						<td><input type="text" name="33" <%= maker_ctl %> value="<%= in_33 %>" /></td>
						<td><input type="text" name="34" <%= maker_ctl %> value="<%= in_34 %>" /></td>
						<td><input type="text" name="35" <%= maker_ctl %> value="<%= in_35 %>" /></td>
						<td><input type="text" name="36" <%= maker_ctl %> value="<%= in_36 %>" /></td>
						<td><input type="text" name="37" <%= maker_ctl %> value="<%= in_37 %>" /></td>
					</tr>
<%-----------------------------------------added by ntchung 20150511--------------------------------------------------- --%>						
						<tr>
							<td>Visa Local </td>
							<td><input type="text" name="571" <%= maker_ctl %> value="<%= in_571%>" /></td>
							<td><input type="text" name="572" <%= maker_ctl %> value="<%= in_572%>" /></td>
							<td><input type="text" name="573" <%= maker_ctl %> value="<%= in_573%>" /></td>
							<td><input type="text" name="574" <%= maker_ctl %> value="<%= in_574%>" /></td>
							<td><input type="text" name="575" <%= maker_ctl %> value="<%= in_575%>" /></td>
							<td><input type="text" name="576" <%= maker_ctl %> value="<%= in_576%>" /></td>
							<td><input type="text" name="577" <%= maker_ctl %> value="<%= in_577%>" /></td>
							<td><input type="text" name="578" <%= maker_ctl %> value="<%= in_578%>" /></td>
						</tr>

<%--------------------------------------------------------------------------------------------------------------------- --%>	
					
					<tr>
						<td>Visa Foreign</td>
						<td><input type="text" name="38" <%= maker_ctl %> value="<%= in_38 %>" /></td>
						<td><input type="text" name="39" <%= maker_ctl %> value="<%= in_39 %>" /></td>
						<td><input type="text" name="40" <%= maker_ctl %> value="<%= in_40 %>" /></td>
						<td><input type="text" name="41" <%= maker_ctl %> value="<%= in_41 %>" /></td>
						<td><input type="text" name="42" <%= maker_ctl %> value="<%= in_42 %>" /></td>
						<td><input type="text" name="43" <%= maker_ctl %> value="<%= in_43 %>" /></td>
						<td><input type="text" name="44" <%= maker_ctl %> value="<%= in_44 %>" /></td>
						<td><input type="text" name="45" <%= maker_ctl %> value="<%= in_45 %>" /></td>
					</tr>
					<tr>
						<td>Visa Debit/Prepaid Maybank</td>
						<td><input type="text" name="62" <%= maker_ctl %> value="<%= in_62 %>" /></td>
						<td><input type="text" name="63" <%= maker_ctl %> value="<%= in_63 %>" /></td>
						<td><input type="text" name="64" <%= maker_ctl %> value="<%= in_64 %>" /></td>
						<td><input type="text" name="65" <%= maker_ctl %> value="<%= in_65 %>" /></td>
						<td><input type="text" name="66" <%= maker_ctl %> value="<%= in_66 %>" /></td>
						<td><input type="text" name="67" <%= maker_ctl %> value="<%= in_67 %>" /></td>
						<td><input type="text" name="68" <%= maker_ctl %> value="<%= in_68 %>" /></td>
						<td><input type="text" name="69" <%= maker_ctl %> value="<%= in_69 %>" /></td>
					</tr>
<%--------------------------------------------------------------------------------------------------------------------- --%>	
					<tr>
						<td>Visa Debit/Prepaid Local</td>
						<td><input type="text" name="579" <%= maker_ctl %> value="<%= in_579%>" /></td>
						<td><input type="text" name="580" <%= maker_ctl %> value="<%= in_580%>" /></td>
						<td><input type="text" name="581" <%= maker_ctl %> value="<%= in_581%>" /></td>
						<td><input type="text" name="582" <%= maker_ctl %> value="<%= in_582%>" /></td>
						<td><input type="text" name="583" <%= maker_ctl %> value="<%= in_583%>" /></td>
						<td><input type="text" name="584" <%= maker_ctl %> value="<%= in_584%>" /></td>
						<td><input type="text" name="585" <%= maker_ctl %> value="<%= in_585%>" /></td>
						<td><input type="text" name="586" <%= maker_ctl %> value="<%= in_586%>" /></td>
					</tr>
						
					<tr>
						<td>Visa Debit/Prepaid Foreign</td>
						<td><input type="text" name="587" <%= maker_ctl %> value="<%= in_587%>" /></td>
						<td><input type="text" name="588" <%= maker_ctl %> value="<%= in_588%>" /></td>
						<td><input type="text" name="589" <%= maker_ctl %> value="<%= in_589%>" /></td>
						<td><input type="text" name="590" <%= maker_ctl %> value="<%= in_590%>" /></td>
						<td><input type="text" name="591" <%= maker_ctl %> value="<%= in_591%>" /></td>
						<td><input type="text" name="592" <%= maker_ctl %> value="<%= in_592%>" /></td>
						<td><input type="text" name="593" <%= maker_ctl %> value="<%= in_593%>" /></td>
						<td><input type="text" name="594" <%= maker_ctl %> value="<%= in_594%>" /></td>
					</tr>
<%--------------------------------------------------------------------------------------------------------------------- --%>	
					
					<tr>
						<td>MasterCard Maybank</td>
						<td><input type="text" name="46" <%= maker_ctl %> value="<%= in_46 %>" /></td>
						<td><input type="text" name="47" <%= maker_ctl %> value="<%= in_47 %>" /></td>
						<td><input type="text" name="48" <%= maker_ctl %> value="<%= in_48 %>" /></td>
						<td><input type="text" name="49" <%= maker_ctl %> value="<%= in_49 %>" /></td>
						<td><input type="text" name="50" <%= maker_ctl %> value="<%= in_50 %>" /></td>
						<td><input type="text" name="51" <%= maker_ctl %> value="<%= in_51 %>" /></td>
						<td><input type="text" name="52" <%= maker_ctl %> value="<%= in_52 %>" /></td>
						<td><input type="text" name="53" <%= maker_ctl %> value="<%= in_53 %>" /></td>
					</tr>
<%----------------------------------------------------------------------------------------------------------------------------------- --%>		
					<tr>
						<td>MasterCard Local</td>
						<td><input type="text" name="595" <%= maker_ctl %> value="<%= in_595%>" /></td>
						<td><input type="text" name="596" <%= maker_ctl %> value="<%= in_596%>" /></td>
						<td><input type="text" name="597" <%= maker_ctl %> value="<%= in_597%>" /></td>
						<td><input type="text" name="598" <%= maker_ctl %> value="<%= in_598%>" /></td>
						<td><input type="text" name="599" <%= maker_ctl %> value="<%= in_599%>" /></td>
						<td><input type="text" name="600" <%= maker_ctl %> value="<%= in_600%>" /></td>
						<td><input type="text" name="601" <%= maker_ctl %> value="<%= in_601%>" /></td>
						<td><input type="text" name="602" <%= maker_ctl %> value="<%= in_602%>" /></td>
					</tr>
<%----------------------------------------------------------------------------------------------------------------------------------- --%>						
					<tr>
						<td>MasterCard Foreign</td>
						<td><input type="text" name="54" <%= maker_ctl %> value="<%= in_54 %>" /></td>
						<td><input type="text" name="55" <%= maker_ctl %> value="<%= in_55 %>" /></td>
						<td><input type="text" name="56" <%= maker_ctl %> value="<%= in_56 %>" /></td>
						<td><input type="text" name="57" <%= maker_ctl %> value="<%= in_57 %>" /></td>
						<td><input type="text" name="58" <%= maker_ctl %> value="<%= in_58 %>" /></td>
						<td><input type="text" name="59" <%= maker_ctl %> value="<%= in_59 %>" /></td>
						<td><input type="text" name="60" <%= maker_ctl %> value="<%= in_60 %>" /></td>
						<td><input type="text" name="61" <%= maker_ctl %> value="<%= in_61 %>" /></td>
					</tr>

					<tr>
						<td>MasterCard Debit/Prepaid Maybank</td>
						<td><input type="text" name="70" <%= maker_ctl %> value="<%= in_70 %>" /></td>
						<td><input type="text" name="71" <%= maker_ctl %> value="<%= in_71 %>" /></td>
						<td><input type="text" name="72" <%= maker_ctl %> value="<%= in_72 %>" /></td>
						<td><input type="text" name="73" <%= maker_ctl %> value="<%= in_73 %>" /></td>
						<td><input type="text" name="74" <%= maker_ctl %> value="<%= in_74 %>" /></td>
						<td><input type="text" name="75" <%= maker_ctl %> value="<%= in_75 %>" /></td>
						<td><input type="text" name="76" <%= maker_ctl %> value="<%= in_76 %>" /></td>
						<td><input type="text" name="77" <%= maker_ctl %> value="<%= in_77 %>" /></td>
					</tr>
<%-------------------------------------------------------------------------------------------------------------------- --%>						
						<tr>
							<td>MasterCard Debit/Prepaid Local</td>
							<td><input type="text" name="603" <%= maker_ctl %> value="<%= in_603%>" /></td>
							<td><input type="text" name="604" <%= maker_ctl %> value="<%= in_604%>" /></td>
							<td><input type="text" name="605" <%= maker_ctl %> value="<%= in_605%>" /></td>
							<td><input type="text" name="606" <%= maker_ctl %> value="<%= in_606%>" /></td>
							<td><input type="text" name="607" <%= maker_ctl %> value="<%= in_607%>" /></td>
							<td><input type="text" name="608" <%= maker_ctl %> value="<%= in_608%>" /></td>
							<td><input type="text" name="609" <%= maker_ctl %> value="<%= in_609%>" /></td>
							<td><input type="text" name="610" <%= maker_ctl %> value="<%= in_610%>" /></td>
						</tr>
						<tr>
							<td>MasterCard Debit/Prepaid Foreign</td>
							<td><input type="text" name="611" <%= maker_ctl %> value="<%= in_611%>" /></td>
							<td><input type="text" name="612" <%= maker_ctl %> value="<%= in_612%>" /></td>
							<td><input type="text" name="613" <%= maker_ctl %> value="<%= in_613%>" /></td>
							<td><input type="text" name="614" <%= maker_ctl %> value="<%= in_614%>" /></td>
							<td><input type="text" name="615" <%= maker_ctl %> value="<%= in_615%>" /></td>
							<td><input type="text" name="616" <%= maker_ctl %> value="<%= in_616%>" /></td>
							<td><input type="text" name="617" <%= maker_ctl %> value="<%= in_617%>" /></td>
							<td><input type="text" name="618" <%= maker_ctl %> value="<%= in_618%>" /></td>
						</tr>
						
<%-------------------------------------------------------------------------------------------------------------------- --%>							
					<tr>
						<td>MyDebit Maybank</td>
						<td><input type="text" name="78" <%= maker_ctl %> value="<%= in_78 %>" /></td>
						<td><input type="text" name="79" <%= maker_ctl %> value="<%= in_79 %>" /></td>
						<td><input type="text" name="80" <%= maker_ctl %> value="<%= in_80 %>" /></td>
						<td><input type="text" name="81" <%= maker_ctl %> value="<%= in_81 %>" /></td>
						<td><input type="text" name="82" <%= maker_ctl %> value="<%= in_82 %>" /></td>
						<td><input type="text" name="83" <%= maker_ctl %> value="<%= in_83 %>" /></td>
						<td><input type="text" name="84" <%= maker_ctl %> value="<%= in_84 %>" /></td>
						<td><input type="text" name="85" <%= maker_ctl %> value="<%= in_85 %>" /></td>
					</tr>
					<tr>
						<td>MyDebit Local</td>
						<td><input type="text" name="86" <%= maker_ctl %> value="<%= in_86 %>" /></td>
						<td><input type="text" name="87" <%= maker_ctl %> value="<%= in_87 %>" /></td>
						<td><input type="text" name="88" <%= maker_ctl %> value="<%= in_88 %>" /></td>
						<td><input type="text" name="89" <%= maker_ctl %> value="<%= in_89 %>" /></td>
						<td><input type="text" name="90" <%= maker_ctl %> value="<%= in_90 %>" /></td>
						<td><input type="text" name="91" <%= maker_ctl %> value="<%= in_91 %>" /></td>
						<td><input type="text" name="92" <%= maker_ctl %> value="<%= in_92 %>" /></td>
						<td><input type="text" name="93" <%= maker_ctl %> value="<%= in_93 %>" /></td>
					</tr>				
					<tr>
						<td>Maestro</td>
						<td><input type="text" name="94" <%= maker_ctl %> value="<%= in_94 %>" /></td>
						<td><input type="text" name="95" <%= maker_ctl %> value="<%= in_95 %>" /></td>
						<td><input type="text" name="96" <%= maker_ctl %> value="<%= in_96 %>" /></td>
						<td><input type="text" name="97" <%= maker_ctl %> value="<%= in_97 %>" /></td>
						<td><input type="text" name="98" <%= maker_ctl %> value="<%= in_98 %>" /></td>
						<td><input type="text" name="99" <%= maker_ctl %> value="<%= in_99 %>" /></td>
						<td><input type="text" name="100" <%= maker_ctl %> value="<%= in_100 %>" /></td>
						<td><input type="text" name="101" <%= maker_ctl %> value="<%= in_101 %>" /></td>
					</tr>
					<tr>
						<td>JCB</td>
						<td><input type="text" name="102" <%= maker_ctl %> value="<%= in_102 %>" /></td>
						<td><input type="text" name="103" <%= maker_ctl %> value="<%= in_103 %>" /></td>
						<td><input type="text" name="104" <%= maker_ctl %> value="<%= in_104 %>" /></td>
						<td><input type="text" name="105" <%= maker_ctl %> value="<%= in_105 %>" /></td>
						<td><input type="text" name="106" <%= maker_ctl %> value="<%= in_106 %>" /></td>
						<td><input type="text" name="107" <%= maker_ctl %> value="<%= in_107 %>" /></td>
						<td><input type="text" name="108" <%= maker_ctl %> value="<%= in_108 %>" /></td>
						<td><input type="text" name="109" <%= maker_ctl %> value="<%= in_109 %>" /></td>
					</tr>
					<tr>
						<td>Union Pay</td>
						<td><input type="text" name="110" <%= maker_ctl %> value="<%= in_110 %>" /></td>
						<td><input type="text" name="111" <%= maker_ctl %> value="<%= in_111 %>" /></td>
						<td><input type="text" name="112" <%= maker_ctl %> value="<%= in_112 %>" /></td>
						<td><input type="text" name="113" <%= maker_ctl %> value="<%= in_113 %>" /></td>
						<td><input type="text" name="114" <%= maker_ctl %> value="<%= in_114 %>" /></td>
						<td><input type="text" name="115" <%= maker_ctl %> value="<%= in_115 %>" /></td>
						<td><input type="text" name="116" <%= maker_ctl %> value="<%= in_116 %>" /></td>
						<td><input type="text" name="117" <%= maker_ctl %> value="<%= in_117 %>" /></td>
					</tr>
					<tr>
						<td>KawanKu1 (ORS)</td>
						<td><input type="text" name="118" <%= maker_ctl %> value="<%= in_118 %>" /></td>
						<td><input type="text" name="119" <%= maker_ctl %> value="<%= in_119 %>" /></td>
						<td><input type="text" name="120" <%= maker_ctl %> value="<%= in_120 %>" /></td>
						<td><input type="text" name="121" <%= maker_ctl %> value="<%= in_121 %>" /></td>
						<td><input type="text" name="122" <%= maker_ctl %> value="<%= in_122 %>" /></td>
						<td><input type="text" name="123" <%= maker_ctl %> value="<%= in_123 %>" /></td>
						<td><input type="text" name="124" <%= maker_ctl %> value="<%= in_124 %>" /></td>
						<td><input type="text" name="125" <%= maker_ctl %> value="<%= in_125 %>" /></td>
					</tr>
					<tr>
						<td>AMEX (ORS)</td>
						<td><input type="text" name="126" <%= maker_ctl %> value="<%= in_126 %>" /></td>
						<td><input type="text" name="127" <%= maker_ctl %> value="<%= in_127 %>" /></td>
						<td><input type="text" name="128" <%= maker_ctl %> value="<%= in_128 %>" /></td>
						<td><input type="text" name="129" <%= maker_ctl %> value="<%= in_129 %>" /></td>
						<td><input type="text" name="130" <%= maker_ctl %> value="<%= in_130 %>" /></td>
						<td><input type="text" name="131" <%= maker_ctl %> value="<%= in_131 %>" /></td>
						<td><input type="text" name="132" <%= maker_ctl %> value="<%= in_132 %>" /></td>
						<td><input type="text" name="133" <%= maker_ctl %> value="<%= in_133 %>" /></td>
					</tr>
					<tr>
						<td>Visa SSL Maybank</td>
						<td><input type="text" name="134" <%= maker_ctl %> value="<%= in_134 %>" /></td>
						<td><input type="text" name="135" <%= maker_ctl %> value="<%= in_135 %>" /></td>
						<td><input type="text" name="136" <%= maker_ctl %> value="<%= in_136 %>" /></td>
						<td><input type="text" name="137" <%= maker_ctl %> value="<%= in_137 %>" /></td>
						<td><input type="text" name="138" <%= maker_ctl %> value="<%= in_138 %>" /></td>
						<td><input type="text" name="139" <%= maker_ctl %> value="<%= in_139 %>" /></td>
						<td><input type="text" name="140" <%= maker_ctl %> value="<%= in_140 %>" /></td>
						<td><input type="text" name="141" <%= maker_ctl %> value="<%= in_141 %>" /></td>
					</tr>
<%-------------------------------------------------------------------------------------------------------------------- --%>						
					<tr>
						<td>Visa SSL Local</td>
						<td><input type="text" name="619" <%= maker_ctl %> value="<%= in_619%>" /></td>
						<td><input type="text" name="620" <%= maker_ctl %> value="<%= in_620%>" /></td>
						<td><input type="text" name="621" <%= maker_ctl %> value="<%= in_621%>" /></td>
						<td><input type="text" name="622" <%= maker_ctl %> value="<%= in_622%>" /></td>
						<td><input type="text" name="623" <%= maker_ctl %> value="<%= in_623%>" /></td>
						<td><input type="text" name="624" <%= maker_ctl %> value="<%= in_624%>" /></td>
						<td><input type="text" name="625" <%= maker_ctl %> value="<%= in_625%>" /></td>
						<td><input type="text" name="626" <%= maker_ctl %> value="<%= in_626%>" /></td>
					</tr>
<%-------------------------------------------------------------------------------------------------------------------- --%>			
					<tr>
						<td>Visa SSL Foreign</td>
						<td><input type="text" name="150" <%= maker_ctl %> value="<%= in_150 %>" /></td>
						<td><input type="text" name="151" <%= maker_ctl %> value="<%= in_151 %>" /></td>
						<td><input type="text" name="152" <%= maker_ctl %> value="<%= in_152 %>" /></td>
						<td><input type="text" name="153" <%= maker_ctl %> value="<%= in_153 %>" /></td>
						<td><input type="text" name="154" <%= maker_ctl %> value="<%= in_154 %>" /></td>
						<td><input type="text" name="155" <%= maker_ctl %> value="<%= in_155 %>" /></td>
						<td><input type="text" name="156" <%= maker_ctl %> value="<%= in_156 %>" /></td>
						<td><input type="text" name="157" <%= maker_ctl %> value="<%= in_157 %>" /></td>
					</tr>				
					<tr>
						<td>MasterCard SSL Maybank</td>
						<td><input type="text" name="142" <%= maker_ctl %> value="<%= in_142 %>" /></td>
						<td><input type="text" name="143" <%= maker_ctl %> value="<%= in_143 %>" /></td>
						<td><input type="text" name="144" <%= maker_ctl %> value="<%= in_144 %>" /></td>
						<td><input type="text" name="145" <%= maker_ctl %> value="<%= in_145 %>" /></td>
						<td><input type="text" name="146" <%= maker_ctl %> value="<%= in_146 %>" /></td>
						<td><input type="text" name="147" <%= maker_ctl %> value="<%= in_147 %>" /></td>
						<td><input type="text" name="148" <%= maker_ctl %> value="<%= in_148 %>" /></td>
						<td><input type="text" name="149" <%= maker_ctl %> value="<%= in_149 %>" /></td>
					</tr>
<%-------------------------------------------------------------------------------------------------------------------- --%>						
					<tr>
						<td>MasterCard SSL Local</td>
						<td><input type="text" name="627" <%= maker_ctl %> value="<%= in_627%>" /></td>
						<td><input type="text" name="628" <%= maker_ctl %> value="<%= in_628%>" /></td>
						<td><input type="text" name="629" <%= maker_ctl %> value="<%= in_629%>" /></td>
						<td><input type="text" name="630" <%= maker_ctl %> value="<%= in_630%>" /></td>
						<td><input type="text" name="631" <%= maker_ctl %> value="<%= in_631%>" /></td>
						<td><input type="text" name="632" <%= maker_ctl %> value="<%= in_632%>" /></td>
						<td><input type="text" name="633" <%= maker_ctl %> value="<%= in_633%>" /></td>
						<td><input type="text" name="634" <%= maker_ctl %> value="<%= in_634%>" /></td>
					</tr>
<%-------------------------------------------------------------------------------------------------------------------- --%>	
					<tr>
						<td>MasterCard SSL Foreign</td>
						<td><input type="text" name="158" <%= maker_ctl %> value="<%= in_158 %>" /></td>
						<td><input type="text" name="159" <%= maker_ctl %> value="<%= in_159 %>" /></td>
						<td><input type="text" name="160" <%= maker_ctl %> value="<%= in_160 %>" /></td>
						<td><input type="text" name="161" <%= maker_ctl %> value="<%= in_161 %>" /></td>
						<td><input type="text" name="162" <%= maker_ctl %> value="<%= in_162 %>" /></td>
						<td><input type="text" name="163" <%= maker_ctl %> value="<%= in_163 %>" /></td>
						<td><input type="text" name="164" <%= maker_ctl %> value="<%= in_164 %>" /></td>
						<td><input type="text" name="165" <%= maker_ctl %> value="<%= in_165 %>" /></td>
					</tr>
					<tr>
						<td>DCC Rebate</td>
						<td><input type="text" name="166" <%= maker_ctl %> value="<%= in_166 %>" /></td>
						<td><input type="text" name="167" <%= maker_ctl %> value="<%= in_167 %>" /></td>
						<td><input type="text" name="168" <%= maker_ctl %> value="<%= in_168 %>" /></td>
						<td><input type="text" name="169" <%= maker_ctl %> value="<%= in_169 %>" /></td>
						<td><input type="text" name="170" <%= maker_ctl %> value="<%= in_170 %>" /></td>
						<td><input type="text" name="171" <%= maker_ctl %> value="<%= in_171 %>" /></td>
						<td><input type="text" name="172" <%= maker_ctl %> value="<%= in_172 %>" /></td>
						<td><input type="text" name="173" <%= maker_ctl %> value="<%= in_173 %>" /></td>
					</tr>
					<tr>
						<td>Debit Flat Fee</td>
						<td><input type="text" name="174" <%= maker_ctl %> value="<%= in_174 %>" /></td>
						<td><input type="text" name="175" <%= maker_ctl %> value="<%= in_175 %>" /></td>
						<td><input type="text" name="176" <%= maker_ctl %> value="<%= in_176 %>" /></td>
						<td><input type="text" name="177" <%= maker_ctl %> value="<%= in_177 %>" /></td>
						<td><input type="text" name="178" <%= maker_ctl %> value="<%= in_178 %>" /></td>
						<td><input type="text" name="179" <%= maker_ctl %> value="<%= in_179 %>" /></td>
						<td><input type="text" name="180" <%= maker_ctl %> value="<%= in_180 %>" /></td>
						<td><input type="text" name="181" <%= maker_ctl %> value="<%= in_181 %>" /></td>
					</tr>
					<tr>
						<td>Monthly Sales Volume</td>
						<td><input type="text" name="563" value="<%= in_563 %>" /></td>
						<td><input type="text" name="564" value="<%= in_564 %>" /></td>
						<td><input type="text" name="565" value="<%= in_565 %>" /></td>
						<td><input type="text" name="566" value="<%= in_566 %>" /></td>
						<td><input type="text" name="567" value="<%= in_567 %>" /></td>
						<td><input type="text" name="568" value="<%= in_568 %>" /></td>
						<td><input type="text" name="569" value="<%= in_569 %>" /></td>
						<td><input type="text" name="570" value="<%= in_570 %>" /></td>
					</tr>
					<tr>
						<td>GST Rate<span class="must">*</span></td>
						<td><input type="text" class="gst_rate" name="491"  value="<%= in_491 %>" /></td>
						<td><input type="text" class="gst_rate" name="492"  value="<%= in_492 %>" /></td>
						<td><input type="text" class="gst_rate" name="493"  value="<%= in_493 %>" /></td>
						<td><input type="text" class="gst_rate" name="494"  value="<%= in_494 %>" /></td>
						<td><input type="text" class="gst_rate" name="495"  value="<%= in_495 %>" /></td>
						<td><input type="text" class="gst_rate" name="496"  value="<%= in_496 %>" /></td>
						<td><input type="text" class="gst_rate" name="497"  value="<%= in_497 %>" /></td>
						<td><input type="text" class="gst_rate" name="498"  value="<%= in_498 %>" /></td>
					</tr>
					<tr>
						<td>GST Type</td>
						<td><select name="499" style="height:28px; line-height:28px"><option value=""></option><%= op_330 %></select></td>
						<td><select name="500" style="height:28px; line-height:28px"><option value=""></option><%= op_331 %></select></td>
						<td><select name="501" style="height:28px; line-height:28px"><option value=""></option><%= op_332 %></select></td>
						<td><select name="502" style="height:28px; line-height:28px"><option value=""></option><%= op_333 %></select></td>
						<td><select name="503" style="height:28px; line-height:28px"><option value=""></option><%= op_334 %></select></td>
						<td><select name="504" style="height:28px; line-height:28px"><option value=""></option><%= op_335 %></select></td>
						<td><select name="505" style="height:28px; line-height:28px"><option value=""></option><%= op_336 %></select></td>
						<td><select name="506" style="height:28px; line-height:28px"><option value=""></option><%= op_337 %></select></td>
					</tr>
					<tr style="background-color:#eee">
						<th style="text-align:center">VISA/MASTER EZYPAY</th>
						<th style="text-align:center">3</th>
						<th style="text-align:center">6</th>
						<th style="text-align:center">9</th>
						<th style="text-align:center">12</th>
						<th style="text-align:center">18</th>
						<th style="text-align:center">24</th>
						<th style="text-align:center">30</th>
						<th style="text-align:center">36</th>
					</tr>
					<tr>
						<td>Merchant Type</td>
						<td><input type="text" name="182" value="<%= in_182 %>" /></td>
						<td><input type="text" name="183" value="<%= in_183 %>" /></td>
						<td><input type="text" name="184" value="<%= in_184 %>" /></td>
						<td><input type="text" name="185" value="<%= in_185 %>" /></td>
						<td><input type="text" name="186" value="<%= in_186 %>" /></td>
						<td><input type="text" name="187" value="<%= in_187 %>" /></td>
						<td><input type="text" name="188" value="<%= in_188 %>"/></td>
						<td><input type="text" name="189" value="<%= in_189 %>" /></td>
					</tr>		
					<tr>
						<td>MID No Face To Face</td>
						<td><input type="text" name="190" value="<%= in_190 %>" /></td>
						<td><input type="text" name="191" value="<%= in_191 %>" /></td>
						<td><input type="text" name="192" value="<%= in_192 %>" /></td>
						<td><input type="text" name="193" value="<%= in_193 %>" /></td>
						<td><input type="text" name="194" value="<%= in_194 %>" /></td>
						<td><input type="text" name="195" value="<%= in_195 %>" /></td>
						<td><input type="text" name="196" value="<%= in_196 %>" /></td>
						<td><input type="text" name="197" value="<%= in_197 %>" /></td>
					</tr>
					<tr>
						<td>MID No MOTO</td>
						<td><input type="text" name="198" value="<%= in_198 %>" /></td>
						<td><input type="text" name="199" value="<%= in_199 %>" /></td>
						<td><input type="text" name="200" value="<%= in_200 %>" /></td>
						<td><input type="text" name="201" value="<%= in_201 %>" /></td>
						<td><input type="text" name="202" value="<%= in_202 %>" /></td>
						<td><input type="text" name="203" value="<%= in_203 %>" /></td>
						<td><input type="text" name="204" value="<%= in_204 %>" /></td>
						<td><input type="text" name="205" value="<%= in_205 %>" /></td>
					</tr>
					<tr>
						<td>MID No e-Commerce</td>
						<td><input type="text" name="206" value="<%= in_206 %>" /></td>
						<td><input type="text" name="207" value="<%= in_207 %>" /></td>
						<td><input type="text" name="208" value="<%= in_208 %>" /></td>
						<td><input type="text" name="209" value="<%= in_209 %>" /></td>
						<td><input type="text" name="210" value="<%= in_210 %>" /></td>
						<td><input type="text" name="211" value="<%= in_211 %>" /></td>
						<td><input type="text" name="212" value="<%= in_212 %>" /></td>
						<td><input type="text" name="213" value="<%= in_213 %>" /></td>
					</tr>
					<tr>
						<td>MCC Code</td>
						<td><input type="text" name="214" value="<%= in_214 %>" /></td>
						<td><input type="text" name="215" value="<%= in_215 %>" /></td>
						<td><input type="text" name="216" value="<%= in_216 %>" /></td>
						<td><input type="text" name="217" value="<%= in_217 %>" /></td>
						<td><input type="text" name="218" value="<%= in_218 %>" /></td>
						<td><input type="text" name="219" value="<%= in_219 %>" /></td>
						<td><input type="text" name="220" value="<%= in_220 %>" /></td>
						<td><input type="text" name="221" value="<%= in_221 %>" /></td>
					</tr>
					<tr class="visaplanno">
						<td>Plan No</td>
						<td><select name="222" style="height:28px; line-height:28px"><option value=""></option><%= op_222 %></select></td>
						<td><select name="223" style="height:28px; line-height:28px"><option value=""></option><%= op_223 %></select></td>
						<td><select name="224" style="height:28px; line-height:28px"><option value=""></option><%= op_224 %></select></td>
						<td><select name="225" style="height:28px; line-height:28px"><option value=""></option><%= op_225 %></select></td>
						<td><select name="226" style="height:28px; line-height:28px"><option value=""></option><%= op_226 %></select></td>
						<td><select name="227" style="height:28px; line-height:28px"><option value=""></option><%= op_227 %></select></td>
						<td><select name="228" style="height:28px; line-height:28px"><option value=""></option><%= op_228 %></select></td>
						<td><select name="229" style="height:28px; line-height:28px"><option value=""></option><%= op_229 %></select></td>
					</tr>
					<tr class="planmin visaplanno">
						<td>Min Amount</td>
						<td><input type="text" name="230" value="<%= in_230 %>" /></td>
						<td><input type="text" name="231" value="<%= in_231 %>" /></td>
						<td><input type="text" name="232" value="<%= in_232 %>" /></td>
						<td><input type="text" name="233" value="<%= in_233 %>" /></td>
						<td><input type="text" name="234" value="<%= in_234 %>" /></td>
						<td><input type="text" name="235" value="<%= in_235 %>" /></td>
						<td><input type="text" name="236" value="<%= in_236 %>" /></td>
						<td><input type="text" name="237" value="<%= in_237 %>" /></td>
					</tr>
					<tr class="planmax visaplanno">
						<td>Max Amount</td>
						<td><input type="text" name="238" value="<%= in_238 %>" /></td>
						<td><input type="text" name="239" value="<%= in_239 %>" /></td>
						<td><input type="text" name="240" value="<%= in_240 %>" /></td>
						<td><input type="text" name="241" value="<%= in_241 %>" /></td>
						<td><input type="text" name="242" value="<%= in_242 %>" /></td>
						<td><input type="text" name="243" value="<%= in_243 %>" /></td>
						<td><input type="text" name="244" value="<%= in_244 %>" /></td>
						<td><input type="text" name="245" value="<%= in_245 %>" /></td>
					</tr>
					<tr>
						<td>MDR</td>
						<td><input type="text" name="246" <%= maker_ctl %> value="<%= in_246 %>" /></td>
						<td><input type="text" name="247" <%= maker_ctl %> value="<%= in_247 %>" /></td>
						<td><input type="text" name="248" <%= maker_ctl %> value="<%= in_248 %>" /></td>
						<td><input type="text" name="249" <%= maker_ctl %> value="<%= in_249 %>" /></td>
						<td><input type="text" name="250" <%= maker_ctl %> value="<%= in_250 %>" /></td>
						<td><input type="text" name="251" <%= maker_ctl %> value="<%= in_251 %>" /></td>
						<td><input type="text" name="252" <%= maker_ctl %> value="<%= in_252 %>" /></td>
						<td><input type="text" name="253" <%= maker_ctl %> value="<%= in_253 %>" /></td>
					</tr>
					<tr>
						<td>Ticket Size</td>
						<td><input type="text" name="254" value="<%= in_254 %>" /></td>
						<td><input type="text" name="255" value="<%= in_255 %>" /></td>
						<td><input type="text" name="256" value="<%= in_256 %>" /></td>
						<td><input type="text" name="257" value="<%= in_257 %>" /></td>
						<td><input type="text" name="258" value="<%= in_258 %>" /></td>
						<td><input type="text" name="259" value="<%= in_259 %>" /></td>
						<td><input type="text" name="260" value="<%= in_260 %>" /></td>
						<td><input type="text" name="261" value="<%= in_261 %>" /></td>
					</tr>
					<tr>
						<td>Monthly Sales Volume</td>
						<td><input type="text" name="262" value="<%= in_262 %>" /></td>
						<td><input type="text" name="263" value="<%= in_263 %>" /></td>
						<td><input type="text" name="264" value="<%= in_264 %>" /></td>
						<td><input type="text" name="265" value="<%= in_265 %>" /></td>
						<td><input type="text" name="266" value="<%= in_266 %>" /></td>
						<td><input type="text" name="267" value="<%= in_267 %>" /></td>
						<td><input type="text" name="268" value="<%= in_268 %>" /></td>
						<td><input type="text" name="269" value="<%= in_269 %>" /></td>
					</tr>
					<tr>
						<td>GST Rate<span class="must">*</span></td>
						<td><input type="text" class="gst_rate" name="507"  value="<%= in_507 %>" /></td>
						<td><input type="text" class="gst_rate" name="508"  value="<%= in_508 %>" /></td>
						<td><input type="text" class="gst_rate" name="509"  value="<%= in_509 %>" /></td>
						<td><input type="text" class="gst_rate" name="510"  value="<%= in_510 %>" /></td>
						<td><input type="text" class="gst_rate" name="511"  value="<%= in_511 %>" /></td>
						<td><input type="text" class="gst_rate" name="512"  value="<%= in_512 %>" /></td>
						<td><input type="text" class="gst_rate" name="513"  value="<%= in_513 %>" /></td>
						<td><input type="text" class="gst_rate" name="514"  value="<%= in_514 %>" /></td>
					</tr>
					<tr>
						<td>GST Type</td>
						<td><select name="515" style="height:28px; line-height:28px"><option value=""></option><%= op_338 %></select></td>
						<td><select name="516" style="height:28px; line-height:28px"><option value=""></option><%= op_339 %></select></td>
						<td><select name="517" style="height:28px; line-height:28px"><option value=""></option><%= op_340 %></select></td>
						<td><select name="518" style="height:28px; line-height:28px"><option value=""></option><%= op_341 %></select></td>
						<td><select name="519" style="height:28px; line-height:28px"><option value=""></option><%= op_342 %></select></td>
						<td><select name="520" style="height:28px; line-height:28px"><option value=""></option><%= op_343 %></select></td>
						<td><select name="521" style="height:28px; line-height:28px"><option value=""></option><%= op_344 %></select></td>
						<td><select name="522" style="height:28px; line-height:28px"><option value=""></option><%= op_345 %></select></td>
					</tr>
					</tbody>
					<tr>
						<th colspan="9" style="background-color:#eee">OFFICE USE ONLY: AMERICAN EXPRESS HIERARCHY</th>
					</tr>
					<tr>
						<th style="background-color:#D4FFFF">AMEX HIERARCHY NO (POS)</th>
						<td colspan="3"><input type="text" name="5" value="<%= in_5 %>" /></td>
						<td colspan="5"></td>
					</tr>
					<tbody class="hover">
					<tr style="background-color:#eee">
						<th style="text-align:center">AMEX</th>
						<th style="text-align:center">POS</th>
						<th style="text-align:center">MO</th>
						<th style="text-align:center">TO</th>
						<th style="text-align:center">RPS</th>
						<th style="text-align:center">E-Commerce</th>
						<th style="text-align:center">M2U</th>
						<th style="text-align:center"></th>
						<th style="text-align:center"></th>
					</tr>
					<tr>
						<td>Merchant Type</td>
						<td><input type="text" name="271" value="<%= in_271 %>" /></td>
						<td><input type="text" name="272" value="<%= in_272 %>" /></td>
						<td><input type="text" name="273" value="<%= in_273 %>" /></td>
						<td><input type="text" name="274" value="<%= in_274 %>" /></td>
						<td><input type="text" name="275" value="<%= in_275 %>" /></td>
						<td><input type="text" name="276" value="<%= in_276 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Level 5 POS MID No</td>
						<td><input type="text" name="277" value="<%= in_277 %>" /></td>
						<td><input type="text" name="278" value="<%= in_278 %>" /></td>
						<td><input type="text" name="279" value="<%= in_279 %>" /></td>
						<td><input type="text" name="280" value="<%= in_280 %>" /></td>
						<td><input type="text" name="281" value="<%= in_281 %>" /></td>
						<td><input type="text" name="282" value="<%= in_282 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Amex MID No</td>
						<td><input type="text" name="283" value="<%= in_283 %>" /></td>
						<td><input type="text" name="284" value="<%= in_284 %>" /></td>
						<td><input type="text" name="285" value="<%= in_285 %>" /></td>
						<td><input type="text" name="286" value="<%= in_286 %>" /></td>
						<td><input type="text" name="287" value="<%= in_287 %>" /></td>
						<td><input type="text" name="288" value="<%= in_288 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Agreement Code</td>
						<td class="keymaster" data-keydata="amex_agreement_code"><input type="text" name="289" value="<%= in_289 %>" /></td>
						<td><input type="text" name="290" value="<%= in_290 %>" /></td>
						<td><input type="text" name="291" value="<%= in_291 %>" /></td>
						<td><input type="text" name="292" value="<%= in_292 %>" /></td>
						<td><input type="text" name="293" value="<%= in_293 %>" /></td>
						<td><input type="text" name="294" value="<%= in_294 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>MCC Code</td>
						<td><input type="text" name="295" value="<%= in_295 %>" /></td>
						<td><input type="text" name="296" value="<%= in_296 %>" /></td>
						<td><input type="text" name="297" value="<%= in_297 %>" /></td>
						<td><input type="text" name="298" value="<%= in_298 %>" /></td>
						<td><input type="text" name="299" value="<%= in_299 %>" /></td>
						<td><input type="text" name="300" value="<%= in_300 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Base Disc Rate (A)</td>
						<td><input type="text" name="301" <%= maker_ctl %> value="<%= in_301 %>" /></td>
						<td><input type="text" name="302" <%= maker_ctl %> value="<%= in_302 %>" /></td>
						<td><input type="text" name="303" <%= maker_ctl %> value="<%= in_303 %>" /></td>
						<td><input type="text" name="304" <%= maker_ctl %> value="<%= in_304 %>" /></td>
						<td><input type="text" name="305" <%= maker_ctl %> value="<%= in_305 %>" /></td>
						<td><input type="text" name="306" <%= maker_ctl %> value="<%= in_306 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Amex Maybank</td>
						<td><input type="text" name="307" <%= maker_ctl %> value="<%= in_307 %>" /></td>
						<td><input type="text" name="308" <%= maker_ctl %> value="<%= in_308 %>" /></td>
						<td><input type="text" name="309" <%= maker_ctl %> value="<%= in_309 %>" /></td>
						<td><input type="text" name="310" <%= maker_ctl %> value="<%= in_310 %>" /></td>
						<td><input type="text" name="311" <%= maker_ctl %> value="<%= in_311 %>" /></td>
						<td><input type="text" name="312" <%= maker_ctl %> value="<%= in_312 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					
<%------------------------------------------------------------------------------------------------------------------------ --%>
					<tr>
						<td>Amex Local</td>
						<td><input type="text" name="635" <%= maker_ctl %> value="<%= in_635%>" /></td>
						<td><input type="text" name="636" <%= maker_ctl %> value="<%= in_636%>" /></td>
						<td><input type="text" name="637" <%= maker_ctl %> value="<%= in_637%>" /></td>
						<td><input type="text" name="638" <%= maker_ctl %> value="<%= in_638%>" /></td>
						<td><input type="text" name="639" <%= maker_ctl %> value="<%= in_639%>" /></td>
						<td><input type="text" name="640" <%= maker_ctl %> value="<%= in_640%>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Amex Foreign</td>
						<td><input type="text" name="641" <%= maker_ctl %> value="<%= in_641%>" /></td>
						<td><input type="text" name="642" <%= maker_ctl %> value="<%= in_642%>" /></td>
						<td><input type="text" name="643" <%= maker_ctl %> value="<%= in_643%>" /></td>
						<td><input type="text" name="644" <%= maker_ctl %> value="<%= in_644%>" /></td>
						<td><input type="text" name="645" <%= maker_ctl %> value="<%= in_645%>" /></td>
						<td><input type="text" name="646" <%= maker_ctl %> value="<%= in_646%>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Amex Debit/Prepaid Maybank</td>
						<td><input type="text" name="647" <%= maker_ctl %> value="<%= in_647%>" /></td>
						<td><input type="text" name="648" <%= maker_ctl %> value="<%= in_648%>" /></td>
						<td><input type="text" name="649" <%= maker_ctl %> value="<%= in_649%>" /></td>
						<td><input type="text" name="650" <%= maker_ctl %> value="<%= in_650%>" /></td>
						<td><input type="text" name="651" <%= maker_ctl %> value="<%= in_651%>" /></td>
						<td><input type="text" name="652" <%= maker_ctl %> value="<%= in_652%>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Amex Debit/Prepaid Local </td>
						<td><input type="text" name="653" <%= maker_ctl %> value="<%= in_653%>" /></td>
						<td><input type="text" name="654" <%= maker_ctl %> value="<%= in_654%>" /></td>
						<td><input type="text" name="655" <%= maker_ctl %> value="<%= in_655%>" /></td>
						<td><input type="text" name="656" <%= maker_ctl %> value="<%= in_656%>" /></td>
						<td><input type="text" name="657" <%= maker_ctl %> value="<%= in_657%>" /></td>
						<td><input type="text" name="658" <%= maker_ctl %> value="<%= in_658%>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>AMEX Debit/Prepaid Foreign</td>
						<td><input type="text" name="659" <%= maker_ctl %> value="<%= in_659%>" /></td>
						<td><input type="text" name="660" <%= maker_ctl %> value="<%= in_660%>" /></td>
						<td><input type="text" name="661" <%= maker_ctl %> value="<%= in_661%>" /></td>
						<td><input type="text" name="662" <%= maker_ctl %> value="<%= in_662%>" /></td>
						<td><input type="text" name="663" <%= maker_ctl %> value="<%= in_663%>" /></td>
						<td><input type="text" name="664" <%= maker_ctl %> value="<%= in_664%>" /></td>
						<td></td>
						<td></td>
					</tr>
<%----------------------------------------------------------------------------------------------------------------- --%>	
					
					<tr>
						<td>Industry Code</td>
						<td class="keymaster" data-keydata="amex_industry_code"><input type="text" name="313" value="<%= in_313 %>" /></td>
						<td><input type="text" name="314" value="<%= in_314 %>" /></td>
						<td><input type="text" name="315" value="<%= in_315 %>" /></td>
						<td><input type="text" name="316" value="<%= in_316 %>" /></td>
						<td><input type="text" name="317" value="<%= in_317 %>" /></td>
						<td><input type="text" name="318" value="<%= in_318 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Signing Reason</td>
						<td><input type="text" name="319" value="<%= in_319 %>" /></td>
						<td><input type="text" name="320" value="<%= in_320 %>" /></td>
						<td><input type="text" name="321" value="<%= in_321 %>" /></td>
						<td><input type="text" name="322" value="<%= in_322 %>" /></td>
						<td><input type="text" name="323" value="<%= in_323 %>" /></td>
						<td><input type="text" name="324" value="<%= in_324 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Old Merchant No</td>
						<td><input type="text" name="325" value="<%= in_325 %>" /></td>
						<td><input type="text" name="326" value="<%= in_326 %>" /></td>
						<td><input type="text" name="327" value="<%= in_327 %>" /></td>
						<td><input type="text" name="328" value="<%= in_328 %>" /></td>
						<td><input type="text" name="329" value="<%= in_329 %>" /></td>
						<td><input type="text" name="330" value="<%= in_330 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>GST Rate<span class="must">*</span></td>
						<td><input type="text" class="gst_rate" name="523"  value="<%= in_523 %>" /></td>
						<td><input type="text" class="gst_rate" name="524"  value="<%= in_524 %>" /></td>
						<td><input type="text" class="gst_rate" name="525"  value="<%= in_525 %>" /></td>
						<td><input type="text" class="gst_rate" name="526"  value="<%= in_526 %>" /></td>
						<td><input type="text" class="gst_rate" name="527"  value="<%= in_527 %>" /></td>
						<td><input type="text" class="gst_rate" name="528"  value="<%= in_528 %>" /></td>
					</tr>
					<tr>
						<td>GST Type</td>
						<td><select name="529" style="height:28px; line-height:28px"><option value=""></option><%= op_346 %></select></td>
						<td><select name="530" style="height:28px; line-height:28px"><option value=""></option><%= op_347 %></select></td>
						<td><select name="531" style="height:28px; line-height:28px"><option value=""></option><%= op_348 %></select></td>
						<td><select name="532" style="height:28px; line-height:28px"><option value=""></option><%= op_349 %></select></td>
						<td><select name="533" style="height:28px; line-height:28px"><option value=""></option><%= op_350 %></select></td>
						<td><select name="534" style="height:28px; line-height:28px"><option value=""></option><%= op_351 %></select></td>
					</tr>
					</tbody>
					<tr>
						<th colspan="9" style="background-color:#eee">OFFICE USE ONLY: AMERICAN EXPRESS HIERARCHY</th>
					</tr>
					<tr>
						<th style="background-color:#D4FFFF">AMEX HIERARCHY NO (EZYPAY)</th>
						<td colspan="3"><input type="text" name="270" value="<%= in_270 %>" /></td>
						<td colspan="5"></td>
					</tr>
					<tbody class="hover">
					<tr style="background-color:#eee">
						<th style="text-align:center">AMEX EZYPAY L5/L6</th>
						<th style="text-align:center">POS</th>
						<th style="text-align:center">MO</th>
						<th style="text-align:center">TO</th>
						<th style="text-align:center">RPS</th>
						<th style="text-align:center">E-Commerce</th>
						<th style="text-align:center">M2U</th>
						<th style="text-align:center"></th>
						<th style="text-align:center"></th>
					</tr>				
					<tr>
						<td>Merchant Type</td>
						<td><input type="text" name="331" value="<%= in_331 %>" /></td>
						<td><input type="text" name="332" value="<%= in_332 %>" /></td>
						<td><input type="text" name="333" value="<%= in_333 %>" /></td>
						<td><input type="text" name="334" value="<%= in_334 %>" /></td>
						<td><input type="text" name="335" value="<%= in_335 %>" /></td>
						<td><input type="text" name="336" value="<%= in_336 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>MID No L5 Ezypay</td>
						<td><input type="text" name="337" value="<%= in_337 %>" /></td>
						<td><input type="text" name="338" value="<%= in_338 %>" /></td>
						<td><input type="text" name="339" value="<%= in_339 %>" /></td>
						<td><input type="text" name="340" value="<%= in_340 %>" /></td>
						<td><input type="text" name="341" value="<%= in_341 %>" /></td>
						<td><input type="text" name="342" value="<%= in_342 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>MID No L6 Ezypay</td>
						<td><input type="text" name="343" value="<%= in_343 %>" /></td>
						<td><input type="text" name="344" value="<%= in_344 %>" /></td>
						<td><input type="text" name="345" value="<%= in_345 %>" /></td>
						<td><input type="text" name="346" value="<%= in_346 %>" /></td>
						<td><input type="text" name="347" value="<%= in_347 %>" /></td>
						<td><input type="text" name="348" value="<%= in_348 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>MCC Code</td>
						<td><input type="text" name="349" value="<%= in_349 %>" /></td>
						<td><input type="text" name="350" value="<%= in_350 %>" /></td>
						<td><input type="text" name="351" value="<%= in_351 %>" /></td>
						<td><input type="text" name="352" value="<%= in_352 %>" /></td>
						<td><input type="text" name="353" value="<%= in_353 %>" /></td>
						<td><input type="text" name="354" value="<%= in_354 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>MDR</td>
						<td><input type="text" name="355" <%= maker_ctl %> value="<%= in_355 %>" /></td>
						<td><input type="text" name="356" <%= maker_ctl %> value="<%= in_356 %>" /></td>
						<td><input type="text" name="357" <%= maker_ctl %> value="<%= in_357 %>" /></td>
						<td><input type="text" name="358" <%= maker_ctl %> value="<%= in_358 %>" /></td>
						<td><input type="text" name="359" <%= maker_ctl %> value="<%= in_359 %>" /></td>
						<td><input type="text" name="360" <%= maker_ctl %> value="<%= in_360 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Agreement Code</td>
						<td><input type="text" name="361" value="<%= in_361 %>" /></td>
						<td><input type="text" name="362" value="<%= in_362 %>" /></td>
						<td><input type="text" name="363" value="<%= in_363 %>" /></td>
						<td><input type="text" name="364" value="<%= in_364 %>" /></td>
						<td><input type="text" name="365" value="<%= in_365 %>" /></td>
						<td><input type="text" name="366" value="<%= in_366 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Industry Code</td>
						<td><input type="text" name="367" value="<%= in_367 %>" /></td>
						<td><input type="text" name="368" value="<%= in_368 %>" /></td>
						<td><input type="text" name="369" value="<%= in_369 %>" /></td>
						<td><input type="text" name="370" value="<%= in_370 %>" /></td>
						<td><input type="text" name="371" value="<%= in_371 %>" /></td>
						<td><input type="text" name="372" value="<%= in_372 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>Signing Reason</td>
						<td><input type="text" name="373" value="<%= in_373 %>" /></td>
						<td><input type="text" name="374" value="<%= in_374 %>" /></td>
						<td><input type="text" name="375" value="<%= in_375 %>" /></td>
						<td><input type="text" name="376" value="<%= in_376 %>" /></td>
						<td><input type="text" name="377" value="<%= in_377 %>" /></td>
						<td><input type="text" name="378" value="<%= in_378 %>" /></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>GST Rate<span class="must">*</span></td>
						<td><input type="text" class="gst_rate" name="535"  value="<%= in_535 %>" /></td>
						<td><input type="text" class="gst_rate" name="536"  value="<%= in_536 %>" /></td>
						<td><input type="text" class="gst_rate" name="537"  value="<%= in_537 %>" /></td>
						<td><input type="text" class="gst_rate" name="538"  value="<%= in_538 %>" /></td>
						<td><input type="text" class="gst_rate" name="539"  value="<%= in_539 %>" /></td>
						<td><input type="text" class="gst_rate" name="540"  value="<%= in_540 %>" /></td>
					</tr>
					<tr>
						<td>GST Type</td>
						<td><select name="541" style="height:28px; line-height:28px"><option value=""></option><%= op_352 %></select></td>
						<td><select name="542" style="height:28px; line-height:28px"><option value=""></option><%= op_353 %></select></td>
						<td><select name="543" style="height:28px; line-height:28px"><option value=""></option><%= op_354 %></select></td>
						<td><select name="544" style="height:28px; line-height:28px"><option value=""></option><%= op_355 %></select></td>
						<td><select name="545" style="height:28px; line-height:28px"><option value=""></option><%= op_356 %></select></td>
						<td><select name="546" style="height:28px; line-height:28px"><option value=""></option><%= op_357 %></select></td>
					</tr>
					<tr style="background-color:#eee">
						<th style="text-align:center">AMEX EZYPAY</th>
						<th style="text-align:center">3</th>
						<th style="text-align:center">6</th>
						<th style="text-align:center">9</th>
						<th style="text-align:center">12</th>
						<th style="text-align:center">18</th>
						<th style="text-align:center">24</th>
						<th style="text-align:center">30</th>
						<th style="text-align:center">36</th>
					</tr>
					<tr>
						<td>Agreement Code</td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="379" value="<%= in_379 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="380" value="<%= in_380 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="381" value="<%= in_381 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="382" value="<%= in_382 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="383" value="<%= in_383 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="384" value="<%= in_384 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="385" value="<%= in_385 %>" /></td>
						<td class="keyclient" data-keydata="amex_agreement_code"><input type="text" name="386" value="<%= in_386 %>" /></td>
					</tr>
					<tr>
						<td>Industry Code</td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="387" value="<%= in_387 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="388" value="<%= in_388 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="389" value="<%= in_389 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="390" value="<%= in_390 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="391" value="<%= in_391 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="392" value="<%= in_392 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="393" value="<%= in_393 %>" /></td>
						<td class="keyclient" data-keydata="amex_industry_code"><input type="text" name="394" value="<%= in_394 %>" /></td>
					</tr>		
					<tr>
						<td>Signing Reason</td>
						<td><input type="text" name="395" value="<%= in_395 %>" /></td>
						<td><input type="text" name="396" value="<%= in_396 %>" /></td>
						<td><input type="text" name="397" value="<%= in_397 %>" /></td>
						<td><input type="text" name="398" value="<%= in_398 %>" /></td>
						<td><input type="text" name="399" value="<%= in_399 %>" /></td>
						<td><input type="text" name="400" value="<%= in_400 %>" /></td>
						<td><input type="text" name="401" value="<%= in_401 %>" /></td>
						<td><input type="text" name="402" value="<%= in_402 %>" /></td>
					</tr>
					<tr>
						<td>Merchant Type</td>
						<td><input type="text" name="403" value="<%= in_403 %>" /></td>
						<td><input type="text" name="404" value="<%= in_404 %>" /></td>
						<td><input type="text" name="405" value="<%= in_405 %>" /></td>
						<td><input type="text" name="406" value="<%= in_406 %>" /></td>
						<td><input type="text" name="407" value="<%= in_407 %>" /></td>
						<td><input type="text" name="408" value="<%= in_408 %>" /></td>
						<td><input type="text" name="409" value="<%= in_409 %>" /></td>
						<td><input type="text" name="410" value="<%= in_410 %>" /></td>
					</tr>
					<tr>
						<td>MID No Face To Face</td>
						<td><input type="text" name="411" value="<%= in_411 %>" /></td>
						<td><input type="text" name="412" value="<%= in_412 %>" /></td>
						<td><input type="text" name="413" value="<%= in_413 %>" /></td>
						<td><input type="text" name="414" value="<%= in_414 %>" /></td>
						<td><input type="text" name="415" value="<%= in_415 %>" /></td>
						<td><input type="text" name="416" value="<%= in_416 %>" /></td>
						<td><input type="text" name="417" value="<%= in_417 %>" /></td>
						<td><input type="text" name="418" value="<%= in_418 %>" /></td>
					</tr>
					<tr>
						<td>MID No MOTO</td>
						<td><input type="text" name="419" value="<%= in_419 %>" /></td>
						<td><input type="text" name="420" value="<%= in_420 %>" /></td>
						<td><input type="text" name="421" value="<%= in_421 %>" /></td>
						<td><input type="text" name="422" value="<%= in_422 %>" /></td>
						<td><input type="text" name="423" value="<%= in_423 %>" /></td>
						<td><input type="text" name="424" value="<%= in_424 %>" /></td>
						<td><input type="text" name="425" value="<%= in_425 %>" /></td>
						<td><input type="text" name="426" value="<%= in_426 %>" /></td>
					</tr>
					<tr>
						<td>MID No e-Commerce</td>
						<td><input type="text" name="427" value="<%= in_427 %>" /></td>
						<td><input type="text" name="428" value="<%= in_428 %>" /></td>
						<td><input type="text" name="429" value="<%= in_429 %>" /></td>
						<td><input type="text" name="430" value="<%= in_430 %>" /></td>
						<td><input type="text" name="431" value="<%= in_431 %>" /></td>
						<td><input type="text" name="432" value="<%= in_432 %>" /></td>
						<td><input type="text" name="433" value="<%= in_433 %>" /></td>
						<td><input type="text" name="434" value="<%= in_434 %>" /></td>
					</tr>
					<tr>
						<td>MCC Code</td>
						<td><input type="text" name="435" value="<%= in_435 %>" /></td>
						<td><input type="text" name="436" value="<%= in_436 %>" /></td>
						<td><input type="text" name="437" value="<%= in_437 %>" /></td>
						<td><input type="text" name="438" value="<%= in_438 %>" /></td>
						<td><input type="text" name="439" value="<%= in_439 %>" /></td>
						<td><input type="text" name="440" value="<%= in_440 %>" /></td>
						<td><input type="text" name="441" value="<%= in_441 %>" /></td>
						<td><input type="text" name="442" value="<%= in_442 %>" /></td>
					</tr>
					<tr class="amexplanno">
						<td>Plan No</td>
						<td><select name="443" style="height:28px; line-height:28px"><option value=""></option><%= op_443 %></select></td>
						<td><select name="444" style="height:28px; line-height:28px"><option value=""></option><%= op_444 %></select></td>
						<td><select name="445" style="height:28px; line-height:28px"><option value=""></option><%= op_445 %></select></td>
						<td><select name="446" style="height:28px; line-height:28px"><option value=""></option><%= op_446 %></select></td>
						<td><select name="447" style="height:28px; line-height:28px"><option value=""></option><%= op_447 %></select></td>
						<td><select name="448" style="height:28px; line-height:28px"><option value=""></option><%= op_448 %></select></td>
						<td><select name="449" style="height:28px; line-height:28px"><option value=""></option><%= op_449 %></select></td>
						<td><select name="450" style="height:28px; line-height:28px"><option value=""></option><%= op_450 %></select></td>
					</tr>
					<tr class="planmin amexplanno">
						<td>Min Amount</td>
						<td><input type="text" name="451" value="<%= in_451 %>" /></td>
						<td><input type="text" name="452" value="<%= in_452 %>" /></td>
						<td><input type="text" name="453" value="<%= in_453 %>" /></td>
						<td><input type="text" name="454" value="<%= in_454 %>" /></td>
						<td><input type="text" name="455" value="<%= in_455 %>" /></td>
						<td><input type="text" name="456" value="<%= in_456 %>" /></td>
						<td><input type="text" name="457" value="<%= in_457 %>" /></td>
						<td><input type="text" name="458" value="<%= in_458 %>" /></td>
					</tr>
					<tr class="planmax amexplanno">
						<td>Max Amount</td>
						<td><input type="text" name="459" value="<%= in_459 %>" /></td>
						<td><input type="text" name="460" value="<%= in_460 %>" /></td>
						<td><input type="text" name="461" value="<%= in_461 %>" /></td>
						<td><input type="text" name="462" value="<%= in_462 %>" /></td>
						<td><input type="text" name="463" value="<%= in_463 %>" /></td>
						<td><input type="text" name="464" value="<%= in_464 %>" /></td>
						<td><input type="text" name="465" value="<%= in_465 %>" /></td>
						<td><input type="text" name="466" value="<%= in_466 %>" /></td>
					</tr>
					<tr>
						<td>MDR</td>
						<td><input type="text" name="467" <%= maker_ctl %> value="<%= in_467 %>" /></td>
						<td><input type="text" name="468" <%= maker_ctl %> value="<%= in_468 %>" /></td>
						<td><input type="text" name="469" <%= maker_ctl %> value="<%= in_469 %>" /></td>
						<td><input type="text" name="470" <%= maker_ctl %> value="<%= in_470 %>" /></td>
						<td><input type="text" name="471" <%= maker_ctl %> value="<%= in_471 %>" /></td>
						<td><input type="text" name="472" <%= maker_ctl %> value="<%= in_472 %>" /></td>
						<td><input type="text" name="473" <%= maker_ctl %> value="<%= in_473 %>" /></td>
						<td><input type="text" name="474" <%= maker_ctl %> value="<%= in_474 %>" /></td>
					</tr>
					<tr>
						<td>Ticket Size</td>
						<td><input type="text" name="475" value="<%= in_475 %>" /></td>
						<td><input type="text" name="476" value="<%= in_476 %>" /></td>
						<td><input type="text" name="477" value="<%= in_477 %>" /></td>
						<td><input type="text" name="478" value="<%= in_478 %>" /></td>
						<td><input type="text" name="479" value="<%= in_479 %>" /></td>
						<td><input type="text" name="480" value="<%= in_480 %>" /></td>
						<td><input type="text" name="481" value="<%= in_481 %>" /></td>
						<td><input type="text" name="482" value="<%= in_482 %>" /></td>
					</tr>
					<tr>
						<td>Monthly Sales Volume</td>
						<td><input type="text" name="483" value="<%= in_483 %>" /></td>
						<td><input type="text" name="484" value="<%= in_484 %>" /></td>
						<td><input type="text" name="485" value="<%= in_485 %>" /></td>
						<td><input type="text" name="486" value="<%= in_486 %>" /></td>
						<td><input type="text" name="487" value="<%= in_487 %>" /></td>
						<td><input type="text" name="488" value="<%= in_488 %>" /></td>
						<td><input type="text" name="489" value="<%= in_489 %>" /></td>
						<td><input type="text" name="490" value="<%= in_490 %>" /></td>
					</tr>
					<tr>
						<td>GST Rate<span class="must">*</span></td>
						<td><input type="text" class="gst_rate" name="547"  value="<%= in_547 %>" /></td>
						<td><input type="text" class="gst_rate" name="548"  value="<%= in_548 %>" /></td>
						<td><input type="text" class="gst_rate" name="549"  value="<%= in_549 %>" /></td>
						<td><input type="text" class="gst_rate" name="550"  value="<%= in_550 %>" /></td>
						<td><input type="text" class="gst_rate" name="551"  value="<%= in_551 %>" /></td>
						<td><input type="text" class="gst_rate" name="552"  value="<%= in_552 %>" /></td>
						<td><input type="text" class="gst_rate" name="553"  value="<%= in_553 %>" /></td>
						<td><input type="text" class="gst_rate" name="554"  value="<%= in_554 %>" /></td>
					</tr>
					<tr>
						<td>GST Type</td>
						<td><select name="555" style="height:28px; line-height:28px"><option value=""></option><%= op_358 %></select></td>
						<td><select name="556" style="height:28px; line-height:28px"><option value=""></option><%= op_359 %></select></td>
						<td><select name="557" style="height:28px; line-height:28px"><option value=""></option><%= op_360 %></select></td>
						<td><select name="558" style="height:28px; line-height:28px"><option value=""></option><%= op_361 %></select></td>
						<td><select name="559" style="height:28px; line-height:28px"><option value=""></option><%= op_362 %></select></td>
						<td><select name="560" style="height:28px; line-height:28px"><option value=""></option><%= op_363 %></select></td>
						<td><select name="561" style="height:28px; line-height:28px"><option value=""></option><%= op_364 %></select></td>
						<td><select name="562" style="height:28px; line-height:28px"><option value=""></option><%= op_365 %></select></td>
					</tr>
					</tbody>
				</table>	
			</div>
			
		</div>
		
		<div class="row-fluid">
			<div class="span12 btn-control">
				<input id="click_redirect" name="click_redirect" type="hidden" value="" />
				<input id="click_filter" name="click_filter" type="hidden" value="" />
				<button type="submit" class="btn" id="submit" onclick="outlet.create_mdr('<%= request.getParameter("c_id") %>', '<%= request.getParameter("o_id") %>');">Save</button>
			</div>
		</div>
	</div>
</div>

<!-- Footer -->
<%@ include file="/jsp/common/Footer.jsp" %>	
<!-- End Footer -->

</body>
</html>